diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2009-04-14 19:48:38 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-15 12:10:11 +0200 |
commit | eb443e5a25d43996deb62b9bcee1a4ce5dea2ead (patch) | |
tree | 7f63bb98302137e249904d608d5bb4b919a987ed /lib/genalloc.c | |
parent | 2933970b960223076d6affcf7a77e2bc546b8102 (diff) |
splice: fix i_mutex locking in generic_splice_write()
Rearrange locking of i_mutex on destination so it's only held while
buffers are copied with the pipe_to_file() actor, and not while
waiting for more data on the pipe.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions