Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23893
b: refs/heads/master
c: 2e0af86
h: refs/heads/master
i:
  23891: 1210005
v: v3
  • Loading branch information
Andy Adamson authored and Trond Myklebust committed Mar 20, 2006
1 parent 42f306a commit 19fa90b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 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: a85f193e2fb7d53e48ae6a9d9ea990bfb4cea555
refs/heads/master: 2e0af86f618c697b44e2d67dff151256c58201c4
15 changes: 0 additions & 15 deletions trunk/fs/locks.c
Original file line number Diff line number Diff line change
Expand Up @@ -1954,21 +1954,6 @@ void locks_remove_flock(struct file *filp)
unlock_kernel();
}

/**
* posix_block_lock - blocks waiting for a file lock
* @blocker: the lock which is blocking
* @waiter: the lock which conflicts and has to wait
*
* lockd needs to block waiting for locks.
*/
void
posix_block_lock(struct file_lock *blocker, struct file_lock *waiter)
{
locks_insert_block(blocker, waiter);
}

EXPORT_SYMBOL(posix_block_lock);

/**
* posix_unblock_lock - stop waiting for a file lock
* @filp: how the file was opened
Expand Down
1 change: 0 additions & 1 deletion trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,6 @@ extern void locks_remove_flock(struct file *);
extern struct file_lock *posix_test_lock(struct file *, struct file_lock *);
extern int posix_lock_file(struct file *, struct file_lock *);
extern int posix_lock_file_wait(struct file *, struct file_lock *);
extern void posix_block_lock(struct file_lock *, struct file_lock *);
extern int posix_unblock_lock(struct file *, struct file_lock *);
extern int posix_locks_deadlock(struct file_lock *, struct file_lock *);
extern int flock_lock_file_wait(struct file *filp, struct file_lock *fl);
Expand Down

0 comments on commit 19fa90b

Please sign in to comment.