]> git.baikalelectronics.ru Git - kernel.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)
committerJoel Becker <joel.becker@oracle.com>
Fri, 4 Sep 2009 21:28:31 +0000 (14:28 -0700)
commit76889c55026b0bf32d56308bf19332f756d0a264
treeee6ae04dd7014bfe311ea0f48a0aea734a96c2ed
parent12375b7d707bce710887b027fa90330d6fcd197c
ocfs2: ocfs2_write_begin_nolock() should handle len=0

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

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Cc: stable@kernel.org
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/aops.c