diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2009-04-14 19:48:39 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-15 12:10:12 +0200 |
commit | 328eaaba4e41a04c1dc4679d65bea3fee4349d86 (patch) | |
tree | 171bf86b590a841729bab11feec874869bcab49e /lib | |
parent | splice: fix i_mutex locking in generic_splice_write() (diff) | |
download | linux-328eaaba4e41a04c1dc4679d65bea3fee4349d86.tar.xz linux-328eaaba4e41a04c1dc4679d65bea3fee4349d86.zip |
ocfs2: fix i_mutex locking in ocfs2_splice_to_file()
Rearrange locking of i_mutex on destination and call to
ocfs2_rw_lock() so locks are 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')
0 files changed, 0 insertions, 0 deletions