aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs2xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs2xdr.c')
-rw-r--r--fs/nfs/nfs2xdr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c
index f0015fa876e1..a7ed88f97a11 100644
--- a/fs/nfs/nfs2xdr.c
+++ b/fs/nfs/nfs2xdr.c
@@ -131,7 +131,8 @@ xdr_decode_fattr(u32 *p, struct nfs_fattr *fattr)
131 fattr->du.nfs2.blocksize = ntohl(*p++); 131 fattr->du.nfs2.blocksize = ntohl(*p++);
132 rdev = ntohl(*p++); 132 rdev = ntohl(*p++);
133 fattr->du.nfs2.blocks = ntohl(*p++); 133 fattr->du.nfs2.blocks = ntohl(*p++);
134 fattr->fsid_u.nfs3 = ntohl(*p++); 134 fattr->fsid.major = ntohl(*p++);
135 fattr->fsid.minor = 0;
135 fattr->fileid = ntohl(*p++); 136 fattr->fileid = ntohl(*p++);
136 p = xdr_decode_time(p, &fattr->atime); 137 p = xdr_decode_time(p, &fattr->atime);
137 p = xdr_decode_time(p, &fattr->mtime); 138 p = xdr_decode_time(p, &fattr->mtime);