summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/export.h
diff options
context:
space:
mode:
authorKinglong Mee2014-05-24 05:26:49 +0200
committerJ. Bruce Fields2014-05-30 23:32:24 +0200
commit1f53146da9cb2c941a3928320a6824d3b035455f (patch)
tree46e7a0dc2767f4df6baf37867465e445f748f1dd /fs/nfsd/export.h
parentNFSD: Add missing comment of "expiry" in expkey_parse() (diff)
downloadkernel-qcow2-linux-1f53146da9cb2c941a3928320a6824d3b035455f.tar.gz
kernel-qcow2-linux-1f53146da9cb2c941a3928320a6824d3b035455f.tar.xz
kernel-qcow2-linux-1f53146da9cb2c941a3928320a6824d3b035455f.zip
NFSD: Using type of uint32_t for ex_nflavors instead of int
ex_nflavors can't be negative number, just defined by uint32_t. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/export.h')
-rw-r--r--fs/nfsd/export.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/export.h b/fs/nfsd/export.h
index c7d4ed05e470..cfeea85c5bed 100644
--- a/fs/nfsd/export.h
+++ b/fs/nfsd/export.h
@@ -54,7 +54,7 @@ struct svc_export {
int ex_fsid;
unsigned char * ex_uuid; /* 16 byte fsid */
struct nfsd4_fs_locations ex_fslocs;
- int ex_nflavors;
+ uint32_t ex_nflavors;
struct exp_flavor_info ex_flavors[MAX_SECINFO_LIST];
struct cache_detail *cd;
};