commit | 76ca4c238cf5858f8ba5bcd24c94c23717f1e14e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Mon Oct 14 07:09:35 2013 -0700 |
committer | Ben Myers <bpm@sgi.com> | Mon Oct 21 16:51:33 2013 -0500 |
tree | 8059d74fc74e68a6f8765ce5f65247ba319117bd | |
parent | 59e5a0e821d838854b3afd030d31f82cee3ecd58 [diff] |
xfs: always take the iolock around xfs_setattr_size There is no reason to conditionally take the iolock inside xfs_setattr_size when we can let the caller handle it unconditionally, which just incrases the lock hold time for the case where it was previously taken internally by a few instructions. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Ben Myers <bpm@sgi.com>