inode.c (e3900e74f26fc924c8e9e2a922bd40369b0bb517) inode.c (94e07a7590ae855bae0536c42b3086fadc7c83a8)
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 664 unchanged lines hidden (view full) ---

673 struct inode *parent)
674{
675 int len = parent ? 6 : 3;
676 u64 nodeid;
677 u32 generation;
678
679 if (*max_len < len) {
680 *max_len = len;
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 664 unchanged lines hidden (view full) ---

673 struct inode *parent)
674{
675 int len = parent ? 6 : 3;
676 u64 nodeid;
677 u32 generation;
678
679 if (*max_len < len) {
680 *max_len = len;
681 return 255;
681 return FILEID_INVALID;
682 }
683
684 nodeid = get_fuse_inode(inode)->nodeid;
685 generation = inode->i_generation;
686
687 fh[0] = (u32)(nodeid >> 32);
688 fh[1] = (u32)(nodeid & 0xffffffff);
689 fh[2] = generation;

--- 608 unchanged lines hidden ---
682 }
683
684 nodeid = get_fuse_inode(inode)->nodeid;
685 generation = inode->i_generation;
686
687 fh[0] = (u32)(nodeid >> 32);
688 fh[1] = (u32)(nodeid & 0xffffffff);
689 fh[2] = generation;

--- 608 unchanged lines hidden ---