diff options
author | Arend van Spriel <arend@broadcom.com> | 2012-05-23 17:13:07 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-14 03:40:41 +0400 |
commit | a59d6293e5372d7c35212932e083e2a541151eff (patch) | |
tree | a10dd1c0874517e8cbc3dc0d4300920d42fbeca5 /fs/ext2 | |
parent | 0998d0631001288a5974afc0b2a5f568bcdecb4d (diff) | |
download | linux-a59d6293e5372d7c35212932e083e2a541151eff.tar.xz |
debugfs: change parameter check in debugfs_remove() functions
The dentry parameter in debugfs_remove() and debugfs_remove_recursive()
is checked being a NULL pointer. To make cleanup by callers easier this
check is extended using the IS_ERR_OR_NULL macro instead because the
debugfs_create_... functions can return a ERR_PTR() value.
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/ext2')
0 files changed, 0 insertions, 0 deletions