NFS: Don't accept more reads/writes if the open context recovery failed
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 18 Mar 2013 23:45:14 +0000 (19:45 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 25 Mar 2013 16:04:10 +0000 (12:04 -0400)
commitc58c844187df61ef7cc103d0abb5dd6198bcfcd6
tree0e435c37318e290346f3bed74bba05350ec4dd2f
parent5d422301f97b821301efcdb6fc9d1a83a5c102d6
NFS: Don't accept more reads/writes if the open context recovery failed

If the state recovery failed, we want to ensure that the application
doesn't try to use the same file descriptor for more reads or writes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4filelayout.c
fs/nfs/nfs4state.c
fs/nfs/pagelist.c
fs/nfs/read.c
fs/nfs/write.c
include/linux/nfs_fs.h