diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-19 11:26:39 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-09-19 11:26:39 +1000 |
commit | 66642c5c1dea411dd2842159f9f297ce8e914994 (patch) | |
tree | 693c729488f40154f7fd6878afc9897209ec82cd /fs/ramfs | |
parent | 17879e8f865f4ed8b6f9041a2687ad40f13ae460 (diff) | |
download | linux-66642c5c1dea411dd2842159f9f297ce8e914994.tar.gz linux-66642c5c1dea411dd2842159f9f297ce8e914994.tar.xz |
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/ramfs')
0 files changed, 0 insertions, 0 deletions