diff options
author | Ned Bass <[email protected]> | 2014-10-16 13:52:56 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-10-22 11:06:53 -0700 |
commit | bc151f7b312dea09c6ec5b9a320e65140789643a (patch) | |
tree | 1c238332d6eed1b2c0b722191b6967cc189d9b1f /include/sys/arc.h | |
parent | 88904bb3e3f4a385108343aee1ac7ee0d83e25dc (diff) |
Remove checks for mandatory locks
The Linux VFS handles mandatory locks generically so we shouldn't
need to check for conflicting locks in zfs_read(), zfs_write(), or
zfs_freesp(). Linux 3.18 removed the lock_may_read() and
lock_may_write() interfaces which we were relying on for this
purpose. Rather than emulating those interfaces we remove the
redundant checks.
Signed-off-by: Ned Bass <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2804
Diffstat (limited to 'include/sys/arc.h')
0 files changed, 0 insertions, 0 deletions