diff options
| author | Jeff Layton <[email protected]> | 2021-09-10 19:36:29 +0000 |
|---|---|---|
| committer | Jeff Layton <[email protected]> | 2021-09-10 20:21:44 +0000 |
| commit | 90f7d7a0d0d68623b5f7df5621a8d54d9518fcc4 (patch) | |
| tree | 45d9848be89c64360b82aa49fbb19af46eb46164 /fs/btrfs/dev-replace.c | |
| parent | Merge tag '5.15-rc-ksmbd-part2' of git://git.samba.org/ksmbd (diff) | |
| download | kernel-90f7d7a0d0d68623b5f7df5621a8d54d9518fcc4.tar.gz kernel-90f7d7a0d0d68623b5f7df5621a8d54d9518fcc4.zip | |
locks: remove LOCK_MAND flock lock support
As best I can tell, the logic for these has been broken for a long time
(at least before the move to git), such that they never conflict with
anything. Also, nothing checks for these flags and prevented opens or
read/write behavior on the files. They don't seem to do anything.
Given that, we can rip these symbols out of the kernel, and just make
flock(2) return 0 when LOCK_MAND is set in order to preserve existing
behavior.
Cc: Matthew Wilcox <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Signed-off-by: Jeff Layton <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
