NFS: The 'fattr_valid' field in struct nfs_server should be unsigned int
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 21 Apr 2021 11:48:43 +0000 (07:48 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 21 Apr 2021 11:53:03 +0000 (07:53 -0400)
commitd99f2487e1de23a2e902d1a359a85a48bfd21fe7
treec6603eaabd56f359ab56383d209e582fc8ad71e7
parentfb700ef026766c95578aafc0db1b208946e7ad4f
NFS: The 'fattr_valid' field in struct nfs_server should be unsigned int

Fix up a static compiler warning:
"fs/nfs/nfs4proc.c:3882 _nfs4_server_capabilities() warn: was expecting
a 64 bit value instead of '(1 << 11)'"

The fix is to convert the fattr_valid field to match the type of the
'valid' field in struct nfs_fattr.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/nfs_fs_sb.h