Re: [PATCH] exportfs: add FILEID_INVALID to indicate invalid fid_type

2012-08-30 Thread Namjae Jeon
2012/8/31, J. Bruce Fields : > On Wed, Aug 29, 2012 at 10:10:10AM -0400, Namjae Jeon wrote: >> This commit adds FILEID_INVALID = 0xff in fid_type to >> indicate invalid fid_type > > OK, applying for 3.7. > > Looks like this shows up in a lot of filesystems too as just "255". Are > you planning to

Re: [PATCH] exportfs: add FILEID_INVALID to indicate invalid fid_type

2012-08-30 Thread J. Bruce Fields
On Wed, Aug 29, 2012 at 10:10:10AM -0400, Namjae Jeon wrote: > This commit adds FILEID_INVALID = 0xff in fid_type to > indicate invalid fid_type OK, applying for 3.7. Looks like this shows up in a lot of filesystems too as just "255". Are you planning to patch up the filesystems afterwards? --b

[PATCH] exportfs: add FILEID_INVALID to indicate invalid fid_type

2012-08-29 Thread Namjae Jeon
This commit adds FILEID_INVALID = 0xff in fid_type to indicate invalid fid_type It avoids using magic number 255 Signed-off-by: Namjae Jeon Signed-off-by: Vivek Trivedi --- fs/exportfs/expfs.c |4 ++-- fs/fhandle.c |2 +- fs/nfsd/nfsfh.c |4 ++-- include/l