xfs: Regression test for invalid sb_logsunit
authorxiao yang <yangx.jy@cn.fujitsu.com>
Fri, 19 Jan 2018 05:38:06 +0000 (13:38 +0800)
committerEryu Guan <eguan@redhat.com>
Sun, 21 Jan 2018 14:10:50 +0000 (22:10 +0800)
commit5acc29ad70488411d35b22e1c96552e92a7e628e
tree3e7694a2302ff040abc2c9e88b40e1693fd8d107
parenta3b3cf68fb905f0206d347e6d2e000a9f2c6e724
xfs: Regression test for invalid sb_logsunit

If log stripe unit isn't a multiple of the fs blocksize and
mounting, the invalid sb_logsunit leads to crash as soon as we try
to write to the log.

Signed-off-by: xiao yang <yangx.jy@cn.fujitsu.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/xfs/439 [new file with mode: 0755]
tests/xfs/439.out [new file with mode: 0644]
tests/xfs/group