diff options
author | Peng Tao <bergwolf@gmail.com> | 2009-07-13 15:30:17 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-07-13 15:30:17 +0200 |
commit | ac046f1d6121ccdda6db66bd88acd52418f489b2 (patch) | |
tree | 3a52ddd6ae7663b0cdd52a9eab059711626ae491 /drivers/hwmon/gl520sm.c | |
parent | ext4: Fix buffer head reference leak in no-journal mode (diff) | |
download | linux-ac046f1d6121ccdda6db66bd88acd52418f489b2.tar.xz linux-ac046f1d6121ccdda6db66bd88acd52418f489b2.zip |
ext4: fix null handler of ioctls in no journal mode
The EXT4_IOC_GROUP_ADD and EXT4_IOC_GROUP_EXTEND ioctls should not
flush the journal in no_journal mode. Otherwise, running resize2fs on
a mounted no_journal partition triggers the following error messages:
BUG: unable to handle kernel NULL pointer dereference at 00000014
IP: [<c039d282>] _spin_lock+0x8/0x19
*pde = 00000000
Oops: 0002 [#1] SMP
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'drivers/hwmon/gl520sm.c')
0 files changed, 0 insertions, 0 deletions