summaryrefslogtreecommitdiffstats
path: root/fs/proc_namespace.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-24 11:36:37 +0200
committerChristoph Hellwig <hch@lst.de>2018-08-06 10:24:28 +0200
commit9018ccc453af063d16b3b6b5dfa2ad0635390371 (patch)
tree5a1f3fea68ac2e1c2aabc0d1c42bf73b32785014 /fs/proc_namespace.c
parent7dda712818373d4d8ecc5dca2293664fcd3b0158 (diff)
downloadtalos-obmc-linux-9018ccc453af063d16b3b6b5dfa2ad0635390371.tar.gz
talos-obmc-linux-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 <hch@lst.de> Tested-by: Avi Kivity <avi@scylladb.com>
Diffstat (limited to 'fs/proc_namespace.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud