fs: encode_fh: return FILEID_INVALID if invalid fid_type
authorNamjae Jeon <namjae.jeon@samsung.com>
Sun, 17 Feb 2013 06:48:11 +0000 (15:48 +0900)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:46:10 +0000 (02:46 -0500)
commit94e07a7590ae855bae0536c42b3086fadc7c83a8
treea34b3acd03dc5da51b3307478dd572fbd6d22880
parent182be684784334598eee1d90274e7f7aa0063616
fs: encode_fh: return FILEID_INVALID if invalid fid_type

This patch is a follow up on below patch:

[PATCH] exportfs: add FILEID_INVALID to indicate invalid fid_type
commit: 216b6cbdcbd86b1db0754d58886b466ae31f5a63

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Vivek Trivedi <t.vivek@samsung.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Acked-by: Sage Weil <sage@inktank.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
12 files changed:
fs/btrfs/export.c
fs/ceph/export.c
fs/fuse/inode.c
fs/gfs2/export.c
fs/isofs/export.c
fs/nilfs2/namei.c
fs/ocfs2/export.c
fs/reiserfs/inode.c
fs/udf/namei.c
fs/xfs/xfs_export.c
mm/cleancache.c
mm/shmem.c