diff options
author | William Burrow <wbkernel@gmail.com> | 2014-05-28 21:05:55 -0500 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2014-05-28 21:19:02 -0500 |
commit | e31da3f98d3b8626b32cf7806ef4da540bf70820 (patch) | |
tree | bd183efdd97319715b1054b03341f92cb61173c2 /fs/jfs/jfs_logmgr.c | |
parent | 24e4a0f3de21ad715c9235367e241554c64b9adb (diff) | |
download | linux-e31da3f98d3b8626b32cf7806ef4da540bf70820.tar.bz2 |
JFS: Check for NULL before calling posix_acl_equiv_mode()
Check for NULL before using the acl in the access type switch
statement. This seems to be consistent with what is done in the JFFS
and ext4 filesystems and with the behaviour of JFS in the 3.13 kernel.
The bug seemed to be introduced in commit 2cc6a5a0.
The bug results in a kernel Oops, NULL dereference could not be handled
when accessing a JFS filesystem. The rdiff-backup process seemed to
trigger the bug. See also reported bug #75341:
https://bugzilla.kernel.org/show_bug.cgi?id=75341
Signed-off-by: William Burrow <wbkernel@gmail.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'fs/jfs/jfs_logmgr.c')
0 files changed, 0 insertions, 0 deletions