The patch titled
ocfs2: bad kunmap_atomic()
has been added to the -mm tree. Its filename is
ocfs2-bad-kunmap_atomic.patch
*** Remember to use Documentation/SubmitChecklist when testing your code ***
See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this
------------------------------------------------------
Subject: ocfs2: bad kunmap_atomic()
From: Jens Axboe <[EMAIL PROTECTED]>
kunmap_atomic() takes the virtual address, not the mapped page as
argument.
Signed-off-by: Jens Axboe <[EMAIL PROTECTED]>
Cc: Mark Fasheh <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
fs/ocfs2/file.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN fs/ocfs2/file.c~ocfs2-bad-kunmap_atomic fs/ocfs2/file.c
--- a/fs/ocfs2/file.c~ocfs2-bad-kunmap_atomic
+++ a/fs/ocfs2/file.c
@@ -2153,7 +2153,7 @@ static int ocfs2_splice_write_actor(stru
src = buf->ops->map(pipe, buf, 1);
dst = kmap_atomic(page, KM_USER1);
memcpy(dst + offset, src + buf->offset, count);
- kunmap_atomic(page, KM_USER1);
+ kunmap_atomic(dst, KM_USER1);
buf->ops->unmap(pipe, buf, src);
copied = ocfs2_write_end(file, file->f_mapping, sd->pos, count, count,
_
Patches currently in -mm which might be from [EMAIL PROTECTED] are
looph-build-fix.patch
ocfs2-bad-kunmap_atomic.patch
git-scsi-rc-fixes.patch
clean-up-duplicate-includes-in-drivers-block.patch
readahead-remove-the-limit-max_sectors_kb-imposed-on-max_readahead_kb.patch
revoke-vs-git-block.patch
git-block-vs-reiser4.patch
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html