summaryrefslogtreecommitdiffstats
path: root/fs/ubifs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-07-30 03:34:33 +0200
committerJ. Bruce Fields <bfields@redhat.com>2014-07-31 20:20:23 +0200
commitb401be22b5cf059290ee98106bc780e087407d45 (patch)
treed6ac12b735b44e47752c224ec82b00ddec6b7f5a /fs/ubifs
parentnfsd: make openstateids hold references to their openowners (diff)
downloadlinux-b401be22b5cf059290ee98106bc780e087407d45.tar.xz
linux-b401be22b5cf059290ee98106bc780e087407d45.zip
nfsd: don't allow CLOSE to proceed until refcount on stateid drops
Once we remove client_mutex protection, it'll be possible to have an in-flight operation using an openstateid when a CLOSE call comes in. If that happens, we can't just put the sc_file reference and clear its pointer without risking an oops. Fix this by ensuring that v4.0 CLOSE operations wait for the refcount to drop before proceeding to do so. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/ubifs')
0 files changed, 0 insertions, 0 deletions