[pnfs] [PATCH] exit without unlocking
Marc Eshel
eshel at almaden.ibm.com
Thu May 15 18:27:14 EDT 2008
From: Marc Eshel <eshel at almaden.ibm.com>
---
fs/nfsd/nfs4state.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index b75a863..751271f 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -4819,8 +4819,11 @@ int nfs4_pnfs_return_layout(struct super_block *sb, struct svc_fh *current_fh,
/* call exported filesystem layout_return first */
if (sb->s_export_op->layout_return) {
status = sb->s_export_op->layout_return(ino, lrp);
- if (status)
- goto out;
+ if (status) {
+ dprintk("pNFS %s: filesystem status %d \n",
+ __FUNCTION__, status);
+ return status;
+ }
}
nfs4_lock_state();
More information about the pNFS
mailing list