- xfs-stop-using-kmalloc-in-xfs_buf_get_noaddr-fix.patch removed from -mm tree

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

 



The patch titled
     xfs: stop using kmalloc in xfs_buf_get_noaddr (fix)
has been removed from the -mm tree.  Its filename was
     xfs-stop-using-kmalloc-in-xfs_buf_get_noaddr-fix.patch

This patch was dropped because it was folded into xfs-stop-using-kmalloc-in-xfs_buf_get_noaddr.patch

------------------------------------------------------
Subject: xfs: stop using kmalloc in xfs_buf_get_noaddr (fix)
From: Christoph Hellwig <hch@xxxxxx>

Ed Cashin found a bug in the error handling code for the case where
a page allocation fails.

Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/xfs/linux-2.6/xfs_buf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/xfs/linux-2.6/xfs_buf.c~xfs-stop-using-kmalloc-in-xfs_buf_get_noaddr-fix fs/xfs/linux-2.6/xfs_buf.c
--- a/fs/xfs/linux-2.6/xfs_buf.c~xfs-stop-using-kmalloc-in-xfs_buf_get_noaddr-fix
+++ a/fs/xfs/linux-2.6/xfs_buf.c
@@ -790,7 +790,7 @@ xfs_buf_get_noaddr(
 	return bp;
 
  fail_free_mem:
- 	for ( ; i >= 0; i++)
+ 	for ( ; i >= 0; i--)
 		__free_page(bp->b_pages[i]);
  fail_free_buf:
 	xfs_buf_free(bp);
_

Patches currently in -mm which might be from hch@xxxxxx are

ufs2-tindirect-truncate-fix.patch
cifs-remove-unneeded-checks.patch
xfs-stop-using-kmalloc-in-xfs_buf_get_noaddr.patch
xfs-stop-using-kmalloc-in-xfs_buf_get_noaddr-fix.patch
simplify-the-stacktrace-code.patch
allow-access-to-proc-pid-fd-after-setuid.patch
fix-quadratic-behavior-of-shrink_dcache_parent.patch
freevxfs-possible-null-pointer-dereference-fix.patch
vfs-remove-superflous-sb-==-null-checks.patch
nameic-remove-utterly-outdated-comment.patch
make-static-counters-in-new_inode-and-iunique-be-32-bits.patch
change-libfs-sb-creation-routines-to-avoid-collisions-with-their-root-inodes.patch
aio-is-unlikely.patch
revoke-special-mmap-handling.patch
revoke-core-code.patch
revoke-support-for-ext2-and-ext3.patch
revoke-add-documentation.patch
revoke-wire-up-i386-system-calls.patch
ps3fb-thread-updates.patch
ps3av-thread-updates.patch
ps3fb-kill-superfluous-zero-initializations.patch
ps3av-misc-updates.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