linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Bakeathon 1/2] NFSv4.1: allow referral directories to be displayed by readdir
@ 2011-06-15 21:52 andros
  2011-06-15 21:52 ` [PATCH Bakeathon 2/2] NFSv4.1: do not use deviceids after MDS clientid invalidation andros
  0 siblings, 1 reply; 2+ messages in thread
From: andros @ 2011-06-15 21:52 UTC (permalink / raw)
  To: trond.myklebust; +Cc: linux-nfs, Andy Adamson, Andy Adamson

From: Andy Adamson <andros@rhel6.dros.org>

Signed-off-by: Andy Adamson <andros@netapp.com>
cc:stable@kernel.org [2.6.39]
---
 fs/nfs/nfs4xdr.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 11ad51e..9066f0c 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -4221,6 +4221,9 @@ static int decode_getfattr_attrs(struct xdr_stream *xdr, uint32_t *bitmap,
 		nfs_fixup_secinfo_attributes(fattr, fh);
 		status = 0;
 	}
+	/* Allow referrals to be displayed.*/
+	if (status == -NFS4ERR_MOVED)
+		status = 0;
 	if (status < 0)
 		goto xdr_error;
 
-- 
1.7.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-16 15:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-15 21:52 [PATCH Bakeathon 1/2] NFSv4.1: allow referral directories to be displayed by readdir andros
2011-06-15 21:52 ` [PATCH Bakeathon 2/2] NFSv4.1: do not use deviceids after MDS clientid invalidation andros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).