diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-06-23 11:05:11 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 16:43:02 +0200 |
commit | ff7b86b82083f24b8637dff1528c7101c18c7f39 (patch) | |
tree | be80c94e4c1410b51190b617fa27caf33b0ba60b /fs/open.c | |
parent | [PATCH] locks: don't do unnecessary allocations (diff) | |
download | linux-ff7b86b82083f24b8637dff1528c7101c18c7f39.tar.xz linux-ff7b86b82083f24b8637dff1528c7101c18c7f39.zip |
[PATCH] locks: clean up locks_remove_posix()
locks_remove_posix() can use posix_lock_file() instead of doing the lock
removal by hand. posix_lock_file() now does exacly the same.
The comment about pids no longer applies, posix_lock_file() takes only the
owner into account.
Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions