]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Don't remove the delegation from the super_list more than once
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 21 Oct 2019 18:12:13 +0000 (14:12 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 4 Nov 2019 02:28:45 +0000 (21:28 -0500)
commit3eed02d6df1a99e3b610f130f4b2fac9136727eb
treef47f96190049186f509fdd49f30468d3b5644453
parent9610c391a0456ee2d0421a22b10affe4f32a1e35
NFSv4: Don't remove the delegation from the super_list more than once

Add a check to ensure that we haven't already removed the delegation
from the inode after we take all the relevant locks.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c