summaryrefslogtreecommitdiff
path: root/fs/nfsd/netns.h
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2018-01-18 00:25:59 +0300
committerJ. Bruce Fields <bfields@redhat.com>2018-02-06 01:13:17 +0300
commit2502072058b35e2297f4ad7b211a45ad95a6a3d5 (patch)
treee8e0b8703113765b54f9f4f300c37bef809091f8 /fs/nfsd/netns.h
parent4f1764172a0aa7395d12b96cae640ca1438c5085 (diff)
downloadlinux-2502072058b35e2297f4ad7b211a45ad95a6a3d5.tar.xz
nfsd4: don't set lock stateid's sc_type to CLOSED
There's no point I can see to stp->st_stid.sc_type = NFS4_CLOSED_STID; given release_lock_stateid immediately sets sc_type to 0. That set of sc_type to 0 should be enough to prevent it being used where we don't want it to be; NFS4_CLOSED_STID should only be needed for actual open stateid's that are actually closed. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/netns.h')
0 files changed, 0 insertions, 0 deletions