Message ID | CAPnUq3RVYc-djFaiH7WW4oNdhNAjoqXssaiDJBqBiYXxid1-bA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/aio.c b/fs/aio.c index 155f842..48e4fb0 100644 --- a/fs/aio.c +++ b/fs/aio.c @@ -208,6 +208,7 @@ static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) struct file *file; struct path path; struct inode *inode = alloc_anon_inode(aio_mnt->mnt_sb); + if (IS_ERR(inode)) return ERR_CAST(inode);