summaryrefslogtreecommitdiffstats
path: root/fs/bfs/bfs.h
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2011-11-20 17:59:01 +0100
committerPrasad Joshi <prasadjoshi.linux@gmail.com>2012-01-28 06:54:21 +0100
commit934eed395d201bf0901ca0c0cc3703b18729d0ce (patch)
tree27847639b14a0fc16b850bd39c0ace939694d8f2 /fs/bfs/bfs.h
parentlogfs: update page reference count for pined pages (diff)
downloadlinux-934eed395d201bf0901ca0c0cc3703b18729d0ce.tar.xz
linux-934eed395d201bf0901ca0c0cc3703b18729d0ce.zip
logfs: Prevent memory corruption
This is a bad one. I wonder whether we were so far protected by no_free_segments(sb) usually being smaller than LOGFS_NO_AREAS. Found by Dan Carpenter <dan.carpenter@oracle.com> using smatch. Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Prasad Joshi <prasadjoshi.linux@gmail.com>
Diffstat (limited to 'fs/bfs/bfs.h')
0 files changed, 0 insertions, 0 deletions