+ ext2-cleanup-put_page-and-comment-fix.patch added to -mm tree

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

 



The patch titled

     ext2: cleanup: put_page and comment fix

has been added to the -mm tree.  Its filename is

     ext2-cleanup-put_page-and-comment-fix.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: ext2: cleanup: put_page and comment fix
From: Evgeniy Dushistov <dushistov@xxxxxxx>


Things which force me think a little: why so?

Signed-off-by: Evgeniy Dushistov <dushistov@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/ext2/dir.c   |    3 +--
 fs/ext2/fsync.c |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff -puN fs/ext2/dir.c~ext2-cleanup-put_page-and-comment-fix fs/ext2/dir.c
--- a/fs/ext2/dir.c~ext2-cleanup-put_page-and-comment-fix
+++ a/fs/ext2/dir.c
@@ -399,8 +399,7 @@ ino_t ext2_inode_by_name(struct inode * 
 	de = ext2_find_entry (dir, dentry, &page);
 	if (de) {
 		res = le32_to_cpu(de->inode);
-		kunmap(page);
-		page_cache_release(page);
+		ext2_put_page(page);
 	}
 	return res;
 }
diff -puN fs/ext2/fsync.c~ext2-cleanup-put_page-and-comment-fix fs/ext2/fsync.c
--- a/fs/ext2/fsync.c~ext2-cleanup-put_page-and-comment-fix
+++ a/fs/ext2/fsync.c
@@ -24,7 +24,7 @@
 
 #include "ext2.h"
 #include <linux/smp_lock.h>
-#include <linux/buffer_head.h>		/* for fsync_inode_buffers() */
+#include <linux/buffer_head.h>		/* for sync_mapping_buffers() */
 
 
 /*
_

Patches currently in -mm which might be from dushistov@xxxxxxx are

git-jfs.patch
ufs-ufs_trunc_indirect-infinite-cycle.patch
ufs-right-block-allocation.patch
ufs-change-block-number-on-the-fly.patch
ufs-directory-and-page-cache-install-aops.patch
ufs-directory-and-page-cache-from-blocks-to-pages.patch
ufs-wrong-type-cast.patch
ufs-not-usual-amounts-of-fragments-per-block.patch
ufs-unmark-config_ufs_fs_write-as-broken-mm-tree.patch
ufs-easy-debug.patch
ufs-little-directory-lookup-optimization.patch
ufs-i_blocks-wrong-count.patch
ufs-unlock_super-without-lock.patch
ufs-zero-metadata.patch
ufs-printk-warning-fixes.patch
ufs-missed-brelse-and-wrong-baseblk.patch
ufs-one-way-to-access-super-block.patch
ufs-fsync-implementation.patch
ufs-make-fsck-f-happy.patch
ufs-ubh_ll_rw_block-cleanup.patch
ext2-cleanup-put_page-and-comment-fix.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