- remove-unnecessary-check-in-fs-fat-inodec.patch removed from -mm tree

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

 



The patch titled

     Remove unnecessary check in fs/fat/inode.c

has been removed from the -mm tree.  Its filename is

     remove-unnecessary-check-in-fs-fat-inodec.patch

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

------------------------------------------------------
Subject: Remove unnecessary check in fs/fat/inode.c
From: Eric Sesterhenn <snakebyte@xxxxxx>

Aince all callers dereference sb, and this function does so earlier too, we
dont need the check.

Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx>
Acked-by: OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 fs/fat/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/fat/inode.c~remove-unnecessary-check-in-fs-fat-inodec fs/fat/inode.c
--- a/fs/fat/inode.c~remove-unnecessary-check-in-fs-fat-inodec
+++ a/fs/fat/inode.c
@@ -1472,7 +1472,7 @@ int fat_flush_inodes(struct super_block 
 		ret = writeback_inode(i1);
 	if (!ret && i2)
 		ret = writeback_inode(i2);
-	if (!ret && sb) {
+	if (!ret) {
 		struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping;
 		ret = filemap_flush(mapping);
 	}
_

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

origin.patch
null-dereference-in-fs-jbd2-journalc.patch
remove-unnecessary-check-in-drivers-video-intelfb-intelfbhwc.patch
git-netdev-all.patch
off-by-one-in-arch-ppc-platforms-mpc8.patch
remove-unnecessary-check-in-drivers-scsi-sgc.patch
dereference-in-drivers-scsi-lpfc-lpfc_ctc.patch
memory-leak-in-drivers-usb-serial-airprimec.patch
possible-dereference-in-drivers-net-wireless-zd1201c.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