diff options
author | Andy Adamson <andros@citi.umich.edu> | 2006-03-20 13:44:26 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-03-20 13:44:26 -0500 |
commit | 2e0af86f618c697b44e2d67dff151256c58201c4 (patch) | |
tree | 967c708244ca190cc00d1c943704002467546151 /fs/locks.c | |
parent | a85f193e2fb7d53e48ae6a9d9ea990bfb4cea555 (diff) | |
download | kernel_samsung_espresso10-2e0af86f618c697b44e2d67dff151256c58201c4.zip kernel_samsung_espresso10-2e0af86f618c697b44e2d67dff151256c58201c4.tar.gz kernel_samsung_espresso10-2e0af86f618c697b44e2d67dff151256c58201c4.tar.bz2 |
locks: remove unused posix_block_lock
posix_lock_file() is used to add a blocked lock to Lockd's block, so
posix_block_lock() is no longer needed.
Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/locks.c')
-rw-r--r-- | fs/locks.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -1955,21 +1955,6 @@ void locks_remove_flock(struct file *filp) } /** - * 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 * @waiter: the lock which was waiting |