NFSD: Change name of extended attribute containing junction
authorChuck Lever <chuck.lever@oracle.com>
Wed, 4 Jan 2012 21:26:43 +0000 (16:26 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 5 Jan 2012 20:35:57 +0000 (15:35 -0500)
commit9b4146e85536ebd6b989f43906986e34486efdba
tree907a6476f6106f890756fd3f8521d4c955762df2
parent9689dcce0b456793c46bdeea7a79adfab1bc9c5d
NFSD: Change name of extended attribute containing junction

As of fedfs-utils-0.8.0, user space stores all NFS junction
information in a single extended attribute: "trusted.junction.nfs".

Both FedFS and NFS basic junctions are stored in this one attribute,
and the intention is that all future forms of NFS junction metadata
will be stored in this attribute.  Other protocols may use a different
extended attribute.

Thus NFSD needs to look only for that one extended attribute.  The
"trusted.junction.type" xattr is deprecated.  fedfs-utils-0.8.0 will
continue to attach a "trusted.junction.type" xattr to junctions, but
future fedfs-utils releases may no longer do that.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/vfs.c