aboutsummaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-11-18 13:37:47 -0500
committerMister Oyster <oysterized@gmail.com>2017-05-29 03:52:16 +0200
commitb2c51063aa0d0292660b9d7d4f726ab9aa4d8528 (patch)
tree11e054297a761497179a2a61eb1e702bd8869713 /include/linux/root_dev.h
parentc1cd50f0725a406471bd997801b37c78f6cce557 (diff)
ext4: add sanity checking to count_overhead()
[ Upstream commit c48ae41bafe31e9a66d8be2ced4e42a6b57fa814 ] The commit "ext4: sanity check the block and cluster size at mount time" should prevent any problems, but in case the superblock is modified while the file system is mounted, add an extra safety check to make sure we won't overrun the allocated buffer. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Diffstat (limited to 'include/linux/root_dev.h')
0 files changed, 0 insertions, 0 deletions