diff options
author | Yongqiang Yang <xiaoqiangnk@gmail.com> | 2012-09-23 23:16:03 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-09-23 23:16:03 -0400 |
commit | f2a09af645b762f8230e7eba7fee3b6f7e6e96e7 (patch) | |
tree | 990096ae1076171e1dba0029f087ab7373c441c6 /fs/ext4/resize.c | |
parent | 838cd0cf9af52e034ee81513642083bbe8e4ddb1 (diff) | |
download | linux-f2a09af645b762f8230e7eba7fee3b6f7e6e96e7.tar.bz2 |
ext4: check free inode count before allocating an inode
Recently, I ecountered some corrupted filesystems in which some
groups' free inode counts were 65535, it seemed that free inode
count was overflow. This patch teaches ext4 to check free inode
count before allocaing an inode.
Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/resize.c')
0 files changed, 0 insertions, 0 deletions