]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ocfs2: ocfs2_write_begin_nolock() should handle len=0
authorSunil Mushran <sunil.mushran@oracle.com>
Fri, 4 Sep 2009 18:12:01 +0000 (11:12 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:52 +0000 (20:17 -0700)
commit8af12fc1c2c44a6fac07e4a8b7f44ca0c6ea038a
tree9d5950262587e0b741c734cfa7621df6ac6d2d69
parent2607b3b8c16b95806c81968bcd909cba02e6d051
ocfs2: ocfs2_write_begin_nolock() should handle len=0

commit 8379e7c46cc48f51197dd663fc6676f47f2a1e71 upstream.

Bug introduced by mainline commit e7432675f8ca868a4af365759a8d4c3779a3d922
The bug causes ocfs2_write_begin_nolock() to oops when len=0.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ocfs2/aops.c