git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dea517
)
[PATCH] splice: fix unlocking of page on error ->prepare_write()
author
Jens Axboe
<axboe@suse.de>
Wed, 3 May 2006 08:35:10 +0000
(10:35 +0200)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Thu, 4 May 2006 04:55:12 +0000
(06:55 +0200)
Looking at generic_file_buffered_write(), we need to unlock_page() if
prepare write fails and it isn't due to racing with truncate().
Also trim the size if ->prepare_write() fails, if we have to.
Signed-off-by: Jens Axboe <axboe@suse.de>
No differences found