NFSD: Reserve adequate space for LOCKT operation
authorKinglong Mee <kinglongmee@gmail.com>
Fri, 3 Feb 2017 14:51:46 +0000 (22:51 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 17 Feb 2017 21:26:04 +0000 (16:26 -0500)
commit7323f0d2881bbd426ce6bc0a956ef9e739ffe767
tree29517f208a2624666b66be8067bb60aec5623c46
parent2282cd2c05e281120dedc665a8a6a24053c44662
NFSD: Reserve adequate space for LOCKT operation

After tightening the OP_LOCKT reply size estimate, we can get warnings
like:

[11512.783519] RPC request reserved 124 but used 152
[11512.813624] RPC request reserved 108 but used 136

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c