Home
last modified time | relevance | path

Searched hist:"28 cf22d0" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/nfs/
H A Dnfs4xdr.c28cf22d0 Sat May 06 11:19:11 CDT 2017 Trond Myklebust <trond.myklebust@primarydata.com> NFSv4: Fix exclusive create attributes encoding

When using NFS4_CREATE_EXCLUSIVE4_1 mode, the client will overestimate the
amount of space that it needs for the attributes because it does so
before checking whether or not the server supports a given attribute.

Fix by checking the attribute mask earlier.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
28cf22d0 Sat May 06 11:19:11 CDT 2017 Trond Myklebust <trond.myklebust@primarydata.com> NFSv4: Fix exclusive create attributes encoding

When using NFS4_CREATE_EXCLUSIVE4_1 mode, the client will overestimate the
amount of space that it needs for the attributes because it does so
before checking whether or not the server supports a given attribute.

Fix by checking the attribute mask earlier.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>