GFS2: Fix page_mkwrite() return code
commite3fedc3d38a8b6a513f34e30ebc4d685c49261c9
authorSteven Whitehouse <swhiteho@redhat.com>
Mon, 20 Apr 2009 08:45:54 +0000 (20 09:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 May 2009 23:35:05 +0000 (18 16:35 -0700)
tree930b4f9499ed050155e155a1280615ace93f1009
parente58fcb489af71008f265f9b9b8af34ca123a8fc7
GFS2: Fix page_mkwrite() return code

commit e56985da455b9dc0591b8cb2006cc94b6f4fb0f4 upstream.

This allows for the possibility of returning VM_FAULT_OOM as
well as VM_FAULT_SIGBUS. This ensures that the correct action
is taken.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/gfs2/ops_file.c