locks: remove fl_copy_lock lock_manager operation
This one was only used for a nasty hack in nfsd, which has recently been removed. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
51ee4b84f5
commit
bb8430a2c8
@@ -235,11 +235,8 @@ static void locks_copy_private(struct file_lock *new, struct file_lock *fl)
|
||||
fl->fl_ops->fl_copy_lock(new, fl);
|
||||
new->fl_ops = fl->fl_ops;
|
||||
}
|
||||
if (fl->fl_lmops) {
|
||||
if (fl->fl_lmops->fl_copy_lock)
|
||||
fl->fl_lmops->fl_copy_lock(new, fl);
|
||||
if (fl->fl_lmops)
|
||||
new->fl_lmops = fl->fl_lmops;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user