]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c2af8f7ec674a49fb7b3883702c0a43244de01f
treec60dbf743e7ced76cb7b33d16526786d44d4697f
parent089db888563c7acd4f044584769768d819da3b3f
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