aboutsummaryrefslogtreecommitdiff
path: root/fs/ocfs2/dir.c
diff options
context:
space:
mode:
authorGravatar Joseph Qi <joseph.qi@huawei.com> 2015-06-24 16:55:23 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org> 2015-06-24 17:49:40 -0700
commitae1f081467a147c125dfd5920e1c55f0e8ad031a (patch)
treedd06c72b531a5ac71db4e67501b3813d51df0442 /fs/ocfs2/dir.c
parentocfs2: fix NULL pointer dereference in function ocfs2_abort_trigger() (diff)
downloadlinux-ae1f081467a147c125dfd5920e1c55f0e8ad031a.tar.gz
linux-ae1f081467a147c125dfd5920e1c55f0e8ad031a.tar.bz2
linux-ae1f081467a147c125dfd5920e1c55f0e8ad031a.zip
ocfs2: fix wrong check in ocfs2_direct_IO_get_blocks
contig_blocks gotten from ocfs2_extent_map_get_blocks cannot be compared with clusters_to_alloc. So convert it to clusters first. Signed-off-by: Joseph Qi <joseph.qi@huawei.com> Reviewed-by: Weiwei Wang <wangww631@huawei.com> Cc: Mark Fasheh <mfasheh@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/dir.c')
0 files changed, 0 insertions, 0 deletions