diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-06-19 21:47:37 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-07-01 23:32:05 +0200 |
commit | 89f6c3362cb5a6bce96dbe6aa15b4749c2262b21 (patch) | |
tree | f748bc3273da6d4978884df5683d7b1fa4fdb059 /fs/gfs2 | |
parent | svcrpc: don't error out on small tcp fragment (diff) | |
download | linux-89f6c3362cb5a6bce96dbe6aa15b4749c2262b21.tar.xz linux-89f6c3362cb5a6bce96dbe6aa15b4749c2262b21.zip |
nfsd4: delegation-based open reclaims should bypass permissions
We saw a v4.0 client's create fail as follows:
- open create succeeds and gets a read delegation
- client attempts to set mode on new file, gets DELAY while
server recalls delegation.
- client attempts a CLAIM_DELEGATE_CUR open using the
delegation, gets error because of new file mode.
This probably can't happen on a recent kernel since we're no longer
giving out delegations on create opens. Nevertheless, it's a
bug--reclaim opens should bypass permission checks.
Reported-by: Steve Dickson <steved@redhat.com>
Reported-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions