NFS: Clean up nfs read and write error paths
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 May 2012 16:07:22 +0000 (12:07 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 May 2012 17:48:13 +0000 (13:48 -0400)
Move the error handling for nfs_generic_pagein() into a single function.
Ditto for nfs_generic_flush().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Fred Isaman <iisaman@netapp.com>
fs/nfs/pnfs.c
fs/nfs/read.c
fs/nfs/write.c

diff --cc fs/nfs/pnfs.c
Simple merge
diff --cc fs/nfs/read.c
Simple merge
diff --cc fs/nfs/write.c
Simple merge