[XFS] kill superflous buffer locking
authorChristoph Hellwig <hch@infradead.org>
Fri, 12 Oct 2007 01:12:39 +0000 (11:12 +1000)
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>
Thu, 7 Feb 2008 07:12:07 +0000 (18:12 +1100)
commitc40ea74101ab75a8f320d057e7cf4b772b090110
tree047b725cf7347e4111b65edd532cf9b1ee8010d1
parent0771fb4515229821b7d74865b87a430de9fc1113
[XFS] kill superflous buffer locking

There is no need to lock any page in xfs_buf.c because we operate on our
own address_space and all locking is covered by the buffer semaphore. If
we ever switch back to main blockdeive address_space as suggested e.g. for
fsblock with a similar scheme the locking will have to be totally revised
anyway because the current scheme is neither correct nor coherent with
itself.

SGI-PV: 971186
SGI-Modid: xfs-linux-melb:xfs-kern:29845a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c
fs/xfs/linux-2.6/xfs_buf.h