NFS: Create a new nfs_alloc_fattr_with_label() function
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 22 Oct 2021 17:11:00 +0000 (13:11 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 5 Nov 2021 18:54:38 +0000 (14:54 -0400)
commitd755ad8dc752d44545613ea04d660aed674e540d
tree130f7533dc968a4a943d9c4c1947d13826769f71
parentd4a95a7e5a4d3b68b26f70668cf77324a11b5718
NFS: Create a new nfs_alloc_fattr_with_label() function

For creating fattrs with the label field already allocated for us. I
also update nfs_free_fattr() to free the label in the end.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/getroot.c
fs/nfs/inode.c
fs/nfs/internal.h
include/linux/nfs_fs.h