commit | b648a6de00770cc325c22f43bdd4e935f6a2ee55 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Fri Jul 25 01:48:57 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Jul 25 10:53:48 2008 -0700 |
tree | fa2bc39a63059573b2c74b963f2d0e91c5f31b3a | |
parent | bde74e4bc64415b142e556a34d295a52a1b7da9d [diff] |
locks: cleanup code duplication Extract common code into a function. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: "J. Bruce Fields" <bfields@fieldses.org> Cc: Trond Myklebust <trond.myklebust@fys.uio.no> Cc: Matthew Wilcox <matthew@wil.cx> Cc: David Teigland <teigland@redhat.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>