diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-06-02 08:07:54 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-15 09:40:35 -0700 |
commit | 8c30ec0c2f7a507e960bba4113e59f31fa4a42fc (patch) | |
tree | 9992278a82c758cc1715ecf08d312e37692d456a /scripts/patch-kernel | |
parent | 54eefd82c70ebe77f72b7891b7e1538284948c33 (diff) |
ext4: Fix softlockup caused by illegal i_file_acl value in on-disk inode
(cherry picked from commit 485c26ec70f823f2a9cf45982b724893e53a859e)
If the block containing external extended attributes (which is stored
in i_file_acl and i_file_acl_high) is larger than the on-disk
filesystem, the process which tried to access the extended attributes
will endlessly issue kernel printks complaining that
"__find_get_block_slow() failed", locking up that CPU until the system
is forcibly rebooted.
So when we read in the inode, make sure the i_file_acl value is legal,
and if not, flag the filesystem as being corrupted.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions