diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-06-12 05:23:41 (GMT) |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-07-09 12:58:08 (GMT) |
commit | d6b7d4b31dfd5a454a71c445b8086bc098237334 (patch) | |
tree | b4316bf1bf36d7c22c243a520488259b19986f5c /drivers | |
parent | 8bc6f60e3f7f31c4ce370b4b27b8f4b355b7f07e (diff) | |
download | linux-d6b7d4b31dfd5a454a71c445b8086bc098237334.tar.xz |
f2fs: check lower bound nid value in check_nid_range
This patch add lower bound verification for nid in check_nid_range, so nids
reserved like 0, node, meta passed by caller could be checked there.
And then check_nid_range could be used in f2fs_nfs_get_inode for simplifying
code.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions