From: Theodore Ts'o Date: Sat, 27 Dec 2014 04:58:21 +0000 (-0500) Subject: ext4: prevent online resize with backup superblock X-Git-Tag: fixes-v4.0-rc1~339^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=011fa99404bea3f5d897c4983f6bd51170e3b18f;p=pandora-kernel.git ext4: prevent online resize with backup superblock Prevent BUG or corrupted file systems after the following: mkfs.ext4 /dev/vdc 100M mount -t ext4 -o sb=40961 /dev/vdc /vdc resize2fs /dev/vdc We previously prevented online resizing using the old resize ioctl. Move the code to ext4_resize_begin(), so the check applies for all of the resize ioctl's. Reported-by: Maxim Malkov Signed-off-by: Theodore Ts'o --- Reading git-diff-tree failed