Merge "aio: hold an extra file reference over AIO read/write operations"

This commit is contained in:
Linux Build Service Account 2018-09-11 09:46:29 -07:00 committed by Gerrit - the friendly Code Review server
commit 55056d7ec9

View file

@ -1470,6 +1470,7 @@ rw_common:
len = ret;
get_file(file);
if (rw == WRITE)
file_start_write(file);
@ -1477,6 +1478,7 @@ rw_common:
if (rw == WRITE)
file_end_write(file);
fput(file);
kfree(iovec);
break;