diff options
author | Ryan Ding <[email protected]> | 2015-09-04 15:42:36 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-09-04 16:54:41 -0700 |
commit | aa1057b3dec478b20c77bad07442318ae36d893c (patch) | |
tree | 74d09f5e701f197a6f79d3d29cfe8b02e1e87496 /lib/pm-notifier-error-inject.c | |
parent | 7f36e3e56db1ae75d1e157011b3cb2e0957f0a7e (diff) |
ocfs2: direct write will call ocfs2_rw_unlock() twice when doing aio+dio
ocfs2_file_write_iter() is usng the wrong return value ('written'). This
will cause ocfs2_rw_unlock() be called both in write_iter & end_io,
triggering a BUG_ON.
This issue was introduced by commit 7da839c47589 ("ocfs2: use
__generic_file_write_iter()").
Orabug: 21612107
Fixes: 7da839c47589 ("ocfs2: use __generic_file_write_iter()")
Signed-off-by: Ryan Ding <[email protected]>
Reviewed-by: Junxiao Bi <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Mark Fasheh <[email protected]>
Cc: Joel Becker <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions