Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ext4: add sanity checking to count_overhead()
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 <[email protected]> Cc: [email protected]
- Loading branch information