summaryrefslogtreecommitdiffstats
path: root/fs/nfs
diff options
context:
space:
mode:
authorDan Carpenter2017-08-30 16:04:56 +0200
committerJens Axboe2017-09-01 16:17:55 +0200
commitef13ecbc134d7e0ca4ab4834d08bd20885b53c62 (patch)
tree300c7cc86289eba9d1917401ef5ab66e8dae37c9 /fs/nfs
parentdrbd: remove BIOSET_NEED_RESCUER flag from drbd_{md_,}io_bio_set (diff)
downloadkernel-qcow2-linux-ef13ecbc134d7e0ca4ab4834d08bd20885b53c62.tar.gz
kernel-qcow2-linux-ef13ecbc134d7e0ca4ab4834d08bd20885b53c62.tar.xz
kernel-qcow2-linux-ef13ecbc134d7e0ca4ab4834d08bd20885b53c62.zip
kernfs: checking for IS_ERR() instead of NULL
The kernfs_get_inode() returns NULL on error, it never returns error pointers. Fixes: aa8188253474 ("kernfs: add exportfs operations") Acked-by: Tejun Heo <tj@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions