]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: log proper length of superblock
authorEric Sandeen <sandeen@redhat.com>
Fri, 13 Dec 2019 00:54:33 +0000 (19:54 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 13 Dec 2019 00:54:33 +0000 (19:54 -0500)
commit55b503df9f2b35984ee83288f9bf0808c8eff0d2
tree507e25cf32d5f18cdd140658fa4c6de8b6b286ee
parentc3fcbe145a554a1fdc62371557d8c7a2e7214204
xfs: log proper length of superblock

Source kernel commit: 6f4ff81a4602dcfba436c6e2307d61ce9e9f652c

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>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_sb.c