]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit1bc426a76b1a8ecf00d9a3ec8e9765a21ab4082f
tree2f16df0736baff33656f6086f4d37d0977f9e799
parentb87d022c275bce66553a27b68790e7c91927875f
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