commit | 2d5f4b5bebccfe983715ebc9255151e611234643 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Nov 27 09:50:22 2017 -0800 |
committer | Darrick J. Wong <darrick.wong@oracle.com> | Thu Nov 30 08:43:52 2017 -0800 |
tree | d9d14cb0a8905ac022f9275cac674590958f327e | |
parent | 22a6c83777ac7c17d6c63891beeeac24cf5da450 [diff] |
xfs: remove unused parameter from xfs_writepage_map The first thing that xfs_writepage_map does is clobber the offset parameter. Since we never use the passed-in value, turn the parameter into a local variable. This gets rid of an UBSAN warning in generic/466. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>