diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2014-05-23 14:00:19 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-30 23:32:19 +0200 |
commit | 94eb36892d727145794b80dceffc435d1d68edbb (patch) | |
tree | 7df717686ed4888d645c62663c4ddc7e2fe21ff9 /fs/nfsd/nfs4xdr.c | |
parent | NFSD: Helper function for parsing uuid (diff) | |
download | linux-94eb36892d727145794b80dceffc435d1d68edbb.tar.xz linux-94eb36892d727145794b80dceffc435d1d68edbb.zip |
NFSD: Adds macro EX_UUID_LEN for exports uuid's length
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 470fe8998c9b..70d147244891 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -2223,7 +2223,8 @@ nfsd4_encode_fattr(struct xdr_stream *xdr, struct svc_fh *fhp, *p++ = cpu_to_be32(MINOR(stat.dev)); break; case FSIDSOURCE_UUID: - p = xdr_encode_opaque_fixed(p, exp->ex_uuid, 16); + p = xdr_encode_opaque_fixed(p, exp->ex_uuid, + EX_UUID_LEN); break; } } |