diff options
author | Nick Piggin <npiggin@suse.de> | 2007-02-20 13:57:54 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-20 17:10:13 -0800 |
commit | ffda9d302267dbb7fc9bc38f6e4c1b3d61a536a9 (patch) | |
tree | d3b95c0b7dc2edc602e71e2ff8389de79ea243ac /fs/direct-io.c | |
parent | bc56bba8f31bd99f350a5ebfd43d50f411b620c7 (diff) |
[PATCH] fs: fix __block_write_full_page error case buffer submission
Andrew noticed that unlocking the page before submitting all buffers for
writeout could cause problems if the IO completes before we've finished
messing around with the page buffers, and they subsequently get freed.
Even if there were no bug, it is a good idea to bring the error case
into line with the common case here.
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/direct-io.c')
0 files changed, 0 insertions, 0 deletions