commit | 024adf48702212b0af15c682a7ff9773e1e092d6 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 10 16:47:40 2016 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Oct 10 16:47:40 2016 +1100 |
tree | 452b62e369489bd4d207d125615580913b4fb9ad | |
parent | 63646fc58d666f149b85ccf470bfc1576a779d4c [diff] |
xfs: reduce stack usage of _reflink_clear_inode_flag The loop in _reflink_clear_inode_flag isn't necessary since we jump out if any part of any extent is shared. Remove the loop and we no longer need two maps, so we can save some stack use. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reported-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>