xfs: m_maxioffset is redundant
authorDave Chinner <dchinner@redhat.com>
Fri, 8 Jun 2012 05:44:53 +0000 (15:44 +1000)
committerBen Myers <bpm@sgi.com>
Thu, 14 Jun 2012 17:28:22 +0000 (12:28 -0500)
commitd2c2819117176e139dc761873c664aaa770c79c9
tree03c64c1d3f21f8628ca313b276ce327a3c012549
parent0f2cf9d3d917b269645902506adaa4ff92b5e506
xfs: m_maxioffset is redundant

The m_maxioffset field in the struct xfs_mount contains the same
value as the superblock s_maxbytes field. There is no need to carry
two copies of this limit around, so use the VFS superblock version.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_aops.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h