summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2006-05-03 08:35:10 (GMT)
committerJens Axboe <axboe@nelson.home.kernel.dk>2006-05-04 04:55:12 (GMT)
commitbfc4ee39fdbb2deb8864785d5e5bc5cdd3b31a69 (patch)
tree6f5f678cd07a4c65c1e7ea78f911fdd0932b0c7e /include/linux
parent5dea5176e5c32ef9f0d1a41d28427b3bf6881b3a (diff)
downloadlinux-fsl-qoriq-bfc4ee39fdbb2deb8864785d5e5bc5cdd3b31a69.tar.xz
[PATCH] splice: fix unlocking of page on error ->prepare_write()
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions