aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2013-04-30 12:43:42 -0400
committerTrond Myklebust <[email protected]>2013-05-03 12:18:47 -0400
commitc5a2a15f8146fdfe45078df7873a6dc1006b3869 (patch)
tree6bced48c0d503130b010f20e7b043faafc383759 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent721ccfb79b6f74f4052de70236d24047e73682d4 (diff)
NFSv4.x: Fix handling of partially delegated locks
If a NFS client receives a delegation for a file after it has taken a lock on that file, we can currently end up in a situation where we mistakenly skip unlocking that file. The following patch swaps an erroneous check in nfs4_proc_unlck for whether or not the file has a delegation to one which checks whether or not we hold a lock stateid for that file. Reported-by: Chuck Lever <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Cc: [email protected] [>=3.7] Tested-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions