]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: fold xfs_attr_remove_int into xfs_attr_remove
authorChristoph Hellwig <hch@lst.de>
Tue, 13 May 2014 06:34:33 +0000 (16:34 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 13 May 2014 06:34:33 +0000 (16:34 +1000)
commit1ca80695af16e585b834391662696bf073bfe0e1
tree2f16df0736baff33656f6086f4d37d0977f9e799
parentd1232338a707024d3d0e816dc53aaa0b36d8ff35
xfs: fold xfs_attr_remove_int into xfs_attr_remove

Also remove a useless ilock roundtrip for the first attr fork check, it's
racy anyway and we redo it later under the ilock before we start the removal.

Plus various minor style fixes to the new xfs_attr_remove.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_attr.c