[PATCH] locks: clean up locks_remove_posix()
authorMiklos Szeredi <miklos@szeredi.hu>
Fri, 23 Jun 2006 09:05:11 +0000 (02:05 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:43:02 +0000 (07:43 -0700)
commitff7b86b82083f24b8637dff1528c7101c18c7f39
treebe80c94e4c1410b51190b617fa27caf33b0ba60b
parent39005d022ad221b76dc2de0ac62ef475a796433b
[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>
fs/locks.c