]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: kill XBF_LOCK
authorDave Chinner <dchinner@redhat.com>
Mon, 23 Apr 2012 05:58:54 +0000 (15:58 +1000)
committerBen Myers <bpm@sgi.com>
Mon, 14 May 2012 21:20:50 +0000 (16:20 -0500)
commita8acad70731e7d0585f25f33f8a009176f001f70
tree07a14f8bde89e7947f56df7203530b7713b186ac
parent795cac72e902496adac399389f9affe5d1ab821a
xfs: kill XBF_LOCK

Buffers are always returned locked from the lookup routines. Hence
we don't need to tell the lookup routines to return locked buffers,
on to try and lock them. Remove XBF_LOCK from all the callers and
from internal buffer cache usage.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_attr.c
fs/xfs/xfs_attr_leaf.c
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_fsops.c
fs/xfs/xfs_ialloc.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_rw.c
fs/xfs/xfs_trans_buf.c
fs/xfs/xfs_vnodeops.c