summaryrefslogtreecommitdiff
path: root/include/linux/nfs_fs_sb.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2021-02-13 00:49:47 +0300
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2021-02-17 00:11:14 +0300
commit75cfb200cd081d23eb7eaa68deba9e0ab9320070 (patch)
treebce54d5cea5c76de2be060e9aed5036e3d4f6a5a /include/linux/nfs_fs_sb.h
parent848fdd62399c638e65a1512616acaa5de7d5c5e8 (diff)
downloadlinux-75cfb200cd081d23eb7eaa68deba9e0ab9320070.tar.xz
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 <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'include/linux/nfs_fs_sb.h')
-rw-r--r--include/linux/nfs_fs_sb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h
index 38e60ec742df..962e8313f007 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