commit | 66642c5c1dea411dd2842159f9f297ce8e914994 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Mon Sep 19 11:26:39 2016 +1000 |
committer | Dave Chinner <david@fromorbit.com> | Mon Sep 19 11:26:39 2016 +1000 |
tree | 693c729488f40154f7fd6878afc9897209ec82cd | |
parent | 17879e8f865f4ed8b6f9041a2687ad40f13ae460 [diff] |
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>