From: Trond Myklebust Date: Fri, 12 Feb 2021 21:49:47 +0000 (-0500) Subject: NFS: 'flags' field should be unsigned in struct nfs_server X-Git-Tag: accepted/tizen/unified/20230118.172025~7729^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75cfb200cd081d23eb7eaa68deba9e0ab9320070;p=platform%2Fkernel%2Flinux-rpi.git NFS: 'flags' field should be unsigned in struct nfs_server The mount flags are all unsigned integers, so we should not be storing them in a signed field. Signed-off-by: Trond Myklebust Signed-off-by: Anna Schumaker --- diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 38e60ec..962e831 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -142,7 +142,7 @@ struct nfs_server { struct nlm_host *nlm_host; /* NLM client handle */ struct nfs_iostats __percpu *io_stats; /* I/O statistics */ atomic_long_t writeback; /* number of writeback pages */ - int flags; /* various flags */ + unsigned int flags; /* various flags */ /* The following are for internal use only. Also see uapi/linux/nfs_mount.h */ #define NFS_MOUNT_LOOKUP_CACHE_NONEG 0x10000