# HG changeset patch # User Jeff A. Smith # Date 1255405027 18000 # Node ID 48cb25c7b1aa65d564646c868d25c222e2a43db6 # Parent 66a375946c31a182f43018dc5558e5d2e1ce1541 6847686 NFSv4 named attribute file handle bug diff -r 66a375946c31 -r 48cb25c7b1aa usr/src/uts/common/fs/nfs/nfs4_srv_readdir.c --- a/usr/src/uts/common/fs/nfs/nfs4_srv_readdir.c Tue Oct 13 11:35:11 2009 +0800 +++ b/usr/src/uts/common/fs/nfs/nfs4_srv_readdir.c Mon Oct 12 22:37:07 2009 -0500 @@ -1035,6 +1035,10 @@ (void) makefh4((nfs_fh4 *)&fh, vp, (newexi ? newexi : cs->exi)); + if (dvp->v_flag & V_XATTRDIR) + set_fh4_flag((nfs_fh4 *)&fh, + FH4_NAMEDATTR); + if (!xdr_inline_encode_nfs_fh4( &ptr, ptr_redzone, (nfs_fh4_fmt_t *)fh.val)) {