]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: add xfs_ilock_attr_map_shared
authorChristoph Hellwig <hch@infradead.org>
Wed, 18 Dec 2013 10:14:39 +0000 (02:14 -0800)
committerBen Myers <bpm@sgi.com>
Wed, 18 Dec 2013 21:48:44 +0000 (15:48 -0600)
commit7d9b1ad07441c931a5441c129312e79e662a34e6
tree484e876ef92c632e062ccac613f9a066f4b714db
parent4b67e9d256aef27907acfb48327f53bba8d7a14b
xfs: add xfs_ilock_attr_map_shared

Equivalent to xfs_ilock_data_map_shared, except for the attribute fork.

Make xfs_getbmap use it if called for the attribute fork instead of
xfs_ilock_data_map_shared.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h