diff options
author | Chengyu Song <csong84@gatech.edu> | 2015-03-24 15:37:53 +0100 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2015-03-30 16:13:29 +0200 |
commit | 7b4ddfa7c9523a19fca30830f8b426964d359da2 (patch) | |
tree | a216c677645c3783b3a8263901d4da122d9929fe /drivers/pinctrl/nomadik/pinctrl-abx500.h | |
parent | gfs2: allow fallocate to max out quotas/fs efficiently (diff) | |
download | linux-7b4ddfa7c9523a19fca30830f8b426964d359da2.tar.xz linux-7b4ddfa7c9523a19fca30830f8b426964d359da2.zip |
gfs2: incorrect check for debugfs returns
debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs
is not configured, so the return value should be checked against ERROR_VALUE
as well, otherwise the later dereference of the dentry pointer would crash
the kernel.
Signed-off-by: Chengyu Song <csong84@gatech.edu>
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'drivers/pinctrl/nomadik/pinctrl-abx500.h')
0 files changed, 0 insertions, 0 deletions