]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit626d51d3fd15f9b82355d6758c523792adbfdf5a
treef7f6ebbf62344f6cb6107815c489ce9918acd2c0
parent4d41af95b047d45852037ff1a314626165ec8719
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