Re: [patch] aio: checking for NULL instead of IS_ERR

2013-11-13 Thread Benjamin LaHaise
On Wed, Nov 13, 2013 at 10:49:40AM +0300, Dan Carpenter wrote: > alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL. > > Fixes: 71ad7490c1f3 ('rework aio migrate pages to use aio fs') > Signed-off-by: Dan Carpenter Thanks for spotting this. Acked-by: Benjamin LaHaise

Re: [patch] aio: checking for NULL instead of IS_ERR

2013-11-13 Thread Al Viro
On Wed, Nov 13, 2013 at 10:49:40AM +0300, Dan Carpenter wrote: > alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL. > > Fixes: 71ad7490c1f3 ('rework aio migrate pages to use aio fs') > Signed-off-by: Dan Carpenter Applied. -- To unsubscribe from this list: send the line

Re: [patch] aio: checking for NULL instead of IS_ERR

2013-11-13 Thread Al Viro
On Wed, Nov 13, 2013 at 10:49:40AM +0300, Dan Carpenter wrote: alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL. Fixes: 71ad7490c1f3 ('rework aio migrate pages to use aio fs') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Applied. -- To unsubscribe from this list: send

Re: [patch] aio: checking for NULL instead of IS_ERR

2013-11-13 Thread Benjamin LaHaise
On Wed, Nov 13, 2013 at 10:49:40AM +0300, Dan Carpenter wrote: alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL. Fixes: 71ad7490c1f3 ('rework aio migrate pages to use aio fs') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com Thanks for spotting this. Acked-by: Benjamin

[patch] aio: checking for NULL instead of IS_ERR

2013-11-12 Thread Dan Carpenter
alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL. Fixes: 71ad7490c1f3 ('rework aio migrate pages to use aio fs') Signed-off-by: Dan Carpenter diff --git a/fs/aio.c b/fs/aio.c index bf8d080..699f53e 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -164,8 +164,8 @@ static struct file

[patch] aio: checking for NULL instead of IS_ERR

2013-11-12 Thread Dan Carpenter
alloc_anon_inode() returns an ERR_PTR(), it doesn't return NULL. Fixes: 71ad7490c1f3 ('rework aio migrate pages to use aio fs') Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/fs/aio.c b/fs/aio.c index bf8d080..699f53e 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -164,8 +164,8 @@