summaryrefslogtreecommitdiffstats
path: root/fs/autofs4/autofs_i.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2014-09-08 19:59:43 +0200
committerJaegeuk Kim <jaegeuk@kernel.org>2014-09-09 23:46:36 +0200
commit0b4c5afde9b57c08b55d26725d228d5314cfc57a (patch)
treef034d99b62dd117b135c82061cf1f64d2d0b68ae /fs/autofs4/autofs_i.h
parentf2fs: avoid node page to be written twice in gc_node_segment (diff)
downloadlinux-0b4c5afde9b57c08b55d26725d228d5314cfc57a.tar.xz
linux-0b4c5afde9b57c08b55d26725d228d5314cfc57a.zip
f2fs: fix negative value for lseek offset
If application throws negative value of lseek with SEEK_DATA|SEEK_HOLE, previous f2fs went into BUG_ON in get_dnode_of_data, which was reported by Tommi Rantala. He could make a simple code to detect this having: lseek(fd, -17595150933902LL, SEEK_DATA); This patch should resolve that bug. Reported-by: Tommi Rentala <tt.rantala@gmail.com> [Jaegeuk Kim: relocate the condition as suggested by Chao] Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/autofs4/autofs_i.h')
0 files changed, 0 insertions, 0 deletions