summaryrefslogtreecommitdiffstats
path: root/module/zcommon
diff options
context:
space:
mode:
authorNed Bass <[email protected]>2014-10-16 13:52:56 -0700
committerBrian Behlendorf <[email protected]>2014-12-22 16:13:34 -0800
commit107077a193a5c35e83ab3ba890c429f31736d055 (patch)
treefbeef4ddb297c810a51365836524a0e8dfd4384c /module/zcommon
parentc69e727898236962a3300d813ccd4c366785ed85 (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 'module/zcommon')
0 files changed, 0 insertions, 0 deletions