exportfs: add FILEID_INVALID to indicate invalid fid_type
authorNamjae Jeon <linkinjeon@gmail.com>
Wed, 29 Aug 2012 14:10:10 +0000 (10:10 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 8 Nov 2012 00:22:30 +0000 (19:22 -0500)
commit216b6cbdcbd86b1db0754d58886b466ae31f5a63
tree409ef2bc2fcc5a8336453d29f8a5eac9dd45ec10
parent6f0c0580b70c89094b3422ba81118c7b959c7556
exportfs: add FILEID_INVALID to indicate invalid fid_type

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 <linkinjeon@gmail.com>
Signed-off-by: Vivek Trivedi <vtrivedi018@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/exportfs/expfs.c
fs/fhandle.c
fs/nfsd/nfsfh.c
include/linux/exportfs.h