xfs: log proper length of superblock
authorEric Sandeen <sandeen@redhat.com>
Mon, 23 Sep 2019 23:53:37 +0000 (16:53 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 24 Sep 2019 15:00:36 +0000 (08:00 -0700)
commit6f4ff81a4602dcfba436c6e2307d61ce9e9f652c
tree821ee19104ed2032452bc7c0222509b8e8d971f3
parentce840429260a98bcfe4aaf487bb07fa346d86c41
xfs: log proper length of superblock

xfs_trans_log_buf takes first byte, last byte as args.  In this
case, it should be from 0 to sizeof() - 1.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_sb.c