f2fs: check upper bound of ino value in f2fs_nfs_get_inode
authorChao Yu <chao2.yu@samsung.com>
Wed, 12 Mar 2014 09:08:36 +0000 (17:08 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 12 Mar 2014 09:15:38 +0000 (18:15 +0900)
commit910bb12d29cc64144506333bfeaeeee9715c3872
treef93756833c6f2c2074f2a91b5dee46bb98286cd4
parent987c7c31123fd36c1f792ff53ff131378475f5c8
f2fs: check upper bound of ino value in f2fs_nfs_get_inode

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.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/super.c