diff options
| author | Christoph Hellwig <[email protected]> | 2018-07-24 09:36:37 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2018-08-06 08:24:28 +0000 |
| commit | 9018ccc453af063d16b3b6b5dfa2ad0635390371 (patch) | |
| tree | 5a1f3fea68ac2e1c2aabc0d1c42bf73b32785014 /fs/jbd2/commit.c | |
| parent | timerfd: add support for keyed wakeups (diff) | |
| download | kernel-9018ccc453af063d16b3b6b5dfa2ad0635390371.tar.gz kernel-9018ccc453af063d16b3b6b5dfa2ad0635390371.zip | |
aio: add a iocb refcount
This is needed to prevent races caused by the way the ->poll API works.
To avoid introducing overhead for other users of the iocbs we initialize
it to zero and only do refcount operations if it is non-zero in the
completion path.
Signed-off-by: Christoph Hellwig <[email protected]>
Tested-by: Avi Kivity <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
