]> git.baikalelectronics.ru Git - kernel.git/commit
aio: checking for NULL instead of IS_ERR
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 13 Nov 2013 07:49:40 +0000 (10:49 +0300)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 Nov 2013 12:30:53 +0000 (07:30 -0500)
commit8ecc363fa2e3c0f7690762fb3149d994b401d76d
tree5377034782018dbac0aebb95a1f7e106ca7b6841
parent7a72f14ef74fa0c278f517836fb1dd45b1807590
aio: checking for NULL instead of IS_ERR

alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL.

Fixes: 8e6400f873f9 ('rework aio migrate pages to use aio fs')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c