aboutsummaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_da_btree.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2017-10-25 16:59:43 -0700
committerDarrick J. Wong <[email protected]>2017-10-26 15:38:29 -0700
commit9c92ee208b1faa0ef2cc899b85fd0607b6fac7fe (patch)
treee3cbb330bef91efa154c4b1809c325036a77b7f0 /fs/xfs/libxfs/xfs_da_btree.c
parentf1b92bbc2373902063d04d28bff1ab79edc00df3 (diff)
xfs: validate sb_logsunit is a multiple of the fs blocksize
Make sure the log stripe unit is sane before proceeding with mounting. AFAICT this means that logsunit has to be 0, 1, or a multiple of the fs block size. Found this by setting the LSB of logsunit in xfs/350 and watching the system crash as soon as we try to write to the log. Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Brian Foster <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_da_btree.c')
0 files changed, 0 insertions, 0 deletions