diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-09-11 09:46:29 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-09-11 09:46:28 -0700 |
| commit | 55056d7ec98ae618c20ae68d34b80a334946218d (patch) | |
| tree | d4e2ad80a0c960ab1f5375c4702244da97350dc5 | |
| parent | ecb710876b0d1075be29a1bcb771b42fa5d759bc (diff) | |
| parent | fc468d503559ec90e75ddba89ddf7aa6402d3258 (diff) | |
Merge "aio: hold an extra file reference over AIO read/write operations"
| -rw-r--r-- | fs/aio.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |
