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)
commit25b11dcdbfcad69a5ec03265e2dce19e5eca936b
treef7f6ebbf62344f6cb6107815c489ce9918acd2c0
parent9146ab5055152bbacb5690c384df2fd610fb3c68
NFS: Clean up nfs read and write error paths

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