summary refs log tree commit diff
path: root/fs/xfs/xfs_aops.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-09-19 11:26:39 +1000
committerDave Chinner <david@fromorbit.com>2016-09-19 11:26:39 +1000
commit66642c5c1dea411dd2842159f9f297ce8e914994 (patch)
tree693c729488f40154f7fd6878afc9897209ec82cd /fs/xfs/xfs_aops.h
parent17879e8f865f4ed8b6f9041a2687ad40f13ae460 (diff)
downloadlinux-66642c5c1dea411dd2842159f9f297ce8e914994.tar.gz
xfs: take the ilock shared if possible in xfs_file_iomap_begin
We always just read the extent first, and will later lock exlusively
after first dropping the lock in case we actually allocate blocks.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>

Diffstat (limited to 'fs/xfs/xfs_aops.h')
0 files changed, 0 insertions, 0 deletions