[f2fs-dev] [PATCH] f2fs: check upper bound of ino value in f2fs_nfs_get_inode

2014-03-12 Thread Chao Yu
Upper bound checking of ino should be added to f2fs_nfs_get_inode, so unneeded process before do_read_inode in f2fs_iget could be avoided when ino is invalid. Signed-off-by: Chao Yu --- fs/f2fs/super.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c

[f2fs-dev] [PATCH] f2fs: check upper bound of ino value in f2fs_nfs_get_inode

2014-03-12 Thread Chao Yu
Upper bound checking of ino should be added to f2fs_nfs_get_inode, so unneeded process before do_read_inode in f2fs_iget could be avoided when ino is invalid. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/super.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/super.c