summaryrefslogtreecommitdiff
path: root/fs/coda/inode.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-07-10 09:00:01 (GMT)
committerJens Axboe <axboe@suse.de>2006-07-10 09:00:01 (GMT)
commitaadd06e5c56b9ff5117ec77e59eada43dc46e2fc (patch)
tree16da42148eab5ebcfc821fcedd0541f35a2c318b /fs/coda/inode.c
parentb3cf257623fabd8f1ee6700a6d328cc1c5da5a1d (diff)
downloadlinux-fsl-qoriq-aadd06e5c56b9ff5117ec77e59eada43dc46e2fc.tar.xz
[PATCH] splice: fix problems with sys_tee()
Several issues noticed/fixed: - We cannot reliably block in link_pipe() while holding both input and output mutexes. So do preparatory checks before locking down both mutexes and doing the link. - The ipipe->nrbufs vs i check was bad, because we could have dropped the ipipe lock in-between. This causes us to potentially look at unknown buffers if we were racing with someone else reading this pipe. Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'fs/coda/inode.c')
0 files changed, 0 insertions, 0 deletions