Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54485
b: refs/heads/master
c: 70cc648
h: refs/heads/master
i:
  54483: ca2aa17
v: v3
  • Loading branch information
J. Bruce Fields committed May 6, 2007
1 parent 6a23d1c commit 52019fa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2fa1b8a6c059dd08a802545fed3badc8df2adc1
refs/heads/master: 70cc6487a4e08b8698c0e2ec935fb48d10490162
4 changes: 0 additions & 4 deletions trunk/fs/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1665,8 +1665,6 @@ int fcntl_getlk(struct file *filp, struct flock __user *l)

if (filp->f_op && filp->f_op->lock) {
error = filp->f_op->lock(filp, F_GETLK, &file_lock);
if (file_lock.fl_ops && file_lock.fl_ops->fl_release_private)
file_lock.fl_ops->fl_release_private(&file_lock);
if (error < 0)
goto out;
else
Expand Down Expand Up @@ -1804,8 +1802,6 @@ int fcntl_getlk64(struct file *filp, struct flock64 __user *l)

if (filp->f_op && filp->f_op->lock) {
error = filp->f_op->lock(filp, F_GETLK, &file_lock);
if (file_lock.fl_ops && file_lock.fl_ops->fl_release_private)
file_lock.fl_ops->fl_release_private(&file_lock);
if (error < 0)
goto out;
else
Expand Down
1 change: 1 addition & 0 deletions trunk/fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3018,6 +3018,7 @@ static int _nfs4_proc_getlk(struct nfs4_state *state, int cmd, struct file_lock
case -NFS4ERR_DENIED:
status = 0;
}
request->fl_ops->fl_release_private(request);
out:
up_read(&clp->cl_sem);
return status;
Expand Down

0 comments on commit 52019fa

Please sign in to comment.