Commit e38d2251 authored by Sunil Mushran's avatar Sunil Mushran Committed by Greg Kroah-Hartman
Browse files

ocfs2: ocfs2_write_begin_nolock() should handle len=0



commit 8379e7c4 upstream.

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

Signed-off-by: default avatarSunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: default avatarJoel Becker <joel.becker@oracle.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 94a92d5f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment