commit | eb443e5a25d43996deb62b9bcee1a4ce5dea2ead | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Tue Apr 14 19:48:38 2009 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Apr 15 12:10:11 2009 +0200 |
tree | 7f63bb98302137e249904d608d5bb4b919a987ed | |
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>