aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nfs_xdr.h
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-11 14:10:26 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-03-11 14:10:26 -0400
commitbca794785c2c12ecddeb09e70165b8ff80baa6ae (patch)
tree8e8fefa535c799240846082ba580dc87d0a98cbf /include/linux/nfs_xdr.h
parent1ca277d88dafdbc3c5a69d32590e7184b9af6371 (diff)
NFS: Fix the type of struct nfs_fattr->mode
There is no point in using anything other than umode_t, since we copy the content pretty much directly into inode->i_mode. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/nfs_xdr.h')
-rw-r--r--include/linux/nfs_xdr.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 6013acb0131f..0691b9c188d9 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -28,8 +28,7 @@ static inline int nfs_fsid_equal(const struct nfs_fsid *a, const struct nfs_fsid
28 28
29struct nfs_fattr { 29struct nfs_fattr {
30 unsigned int valid; /* which fields are valid */ 30 unsigned int valid; /* which fields are valid */
31 enum nfs_ftype type; /* always use NFSv2 types */ 31 umode_t mode;
32 __u32 mode;
33 __u32 nlink; 32 __u32 nlink;
34 __u32 uid; 33 __u32 uid;
35 __u32 gid; 34 __u32 gid;