nfsd4: READ, READDIR, etc., are idempotent
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 7 Mar 2014 16:43:58 +0000 (11:43 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 23 May 2014 13:03:41 +0000 (09:03 -0400)
commit5b648699afa00de0cfe679a4733bef593faaa3a4
treec60dbf743e7ced76cb7b33d16526786d44d4697f
parent8658452e4a588da603f6cb5ee2615deafcd82b71
nfsd4: READ, READDIR, etc., are idempotent

OP_MODIFIES_SOMETHING flags operations that we should be careful not to
initiate without being sure we have the buffer space to encode a reply.

None of these ops fall into that category.

We could probably remove a few more, but this isn't a very important
problem at least for ops whose reply size is easy to estimate.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c