diff options
Diffstat (limited to 'fs/locks.c')
-rw-r--r-- | fs/locks.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/locks.c b/fs/locks.c index a2ab790471b..65765cb6afe 100644 --- a/fs/locks.c +++ b/fs/locks.c | |||
@@ -235,11 +235,8 @@ static void locks_copy_private(struct file_lock *new, struct file_lock *fl) | |||
235 | fl->fl_ops->fl_copy_lock(new, fl); | 235 | fl->fl_ops->fl_copy_lock(new, fl); |
236 | new->fl_ops = fl->fl_ops; | 236 | new->fl_ops = fl->fl_ops; |
237 | } | 237 | } |
238 | if (fl->fl_lmops) { | 238 | if (fl->fl_lmops) |
239 | if (fl->fl_lmops->fl_copy_lock) | ||
240 | fl->fl_lmops->fl_copy_lock(new, fl); | ||
241 | new->fl_lmops = fl->fl_lmops; | 239 | new->fl_lmops = fl->fl_lmops; |
242 | } | ||
243 | } | 240 | } |
244 | 241 | ||
245 | /* | 242 | /* |