https://github.com/torvalds/linux
Revision d6b7d4b31dfd5a454a71c445b8086bc098237334 authored by Chao Yu on 12 June 2014, 05:23:41 UTC, committed by Jaegeuk Kim on 09 July 2014, 12:58:08 UTC
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>
1 parent 8bc6f60
History
Tip revision: d6b7d4b31dfd5a454a71c445b8086bc098237334 authored by Chao Yu on 12 June 2014, 05:23:41 UTC
f2fs: check lower bound nid value in check_nid_range
Tip revision: d6b7d4b
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 275.2 KB
Makefile -rw-r--r-- 50.8 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top