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>
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 6013acb..0691b9c 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -28,8 +28,7 @@
struct nfs_fattr {
unsigned int valid; /* which fields are valid */
- enum nfs_ftype type; /* always use NFSv2 types */
- __u32 mode;
+ umode_t mode;
__u32 nlink;
__u32 uid;
__u32 gid;