[merged] romfs-advance-destination-buffer-pointer-when-reading-from-a-blockdev.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     romfs: advance destination buffer pointer when reading from a blockdev
has been removed from the -mm tree.  Its filename was
     romfs-advance-destination-buffer-pointer-when-reading-from-a-blockdev.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: romfs: advance destination buffer pointer when reading from a blockdev
From: David Howells <dhowells@xxxxxxxxxx>

RomFS should advance the destination buffer pointer when reading data from
a blockdev source (the data may be split over multiple blocks, each
requiring its own sb_read() call).  Without this, all the data is copied
to the beginning of the output buffer.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
Tested-by: Michal Simek <monstr@xxxxxxxxx>
Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/romfs/storage.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN fs/romfs/storage.c~romfs-advance-destination-buffer-pointer-when-reading-from-a-blockdev fs/romfs/storage.c
--- a/fs/romfs/storage.c~romfs-advance-destination-buffer-pointer-when-reading-from-a-blockdev
+++ a/fs/romfs/storage.c
@@ -120,6 +120,7 @@ static int romfs_blk_read(struct super_b
 			return -EIO;
 		memcpy(buf, bh->b_data + offset, segment);
 		brelse(bh);
+		buf += segment;
 		buflen -= segment;
 		pos += segment;
 	}
_

Patches currently in -mm which might be from dhowells@xxxxxxxxxx are

origin.patch
rxrpc-fix-error-handling-for-rxrpc_alloc_connection.patch
frv-duplicate-output_buffer-of-e03.patch
slow_work_thread-should-do-the-exclusive-wait.patch
rework-fix-is_single_threaded.patch
kmap_types-make-most-arches-use-generic-header-file.patch
flat-fix-data-sections-alignment.patch
ptrace-remove-pt_dtrace-from-avr32-mn10300-parisc-s390-sh-xtensa.patch
mutex-subsystem-synchro-test-module.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux