+ kill-an-unused-ptr_err-in-bdev_cache_init.patch added to -mm tree

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

 



The patch titled
     kill an unused PTR_ERR in bdev_cache_init()
has been added to the -mm tree.  Its filename is
     kill-an-unused-ptr_err-in-bdev_cache_init.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: kill an unused PTR_ERR in bdev_cache_init()
From: Qi Yong <qiyong@xxxxxxxxx>

Signed-off-by: Qi Yong <qiyong@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 fs/block_dev.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN fs/block_dev.c~kill-an-unused-ptr_err-in-bdev_cache_init fs/block_dev.c
--- a/fs/block_dev.c~kill-an-unused-ptr_err-in-bdev_cache_init
+++ a/fs/block_dev.c
@@ -534,7 +534,6 @@ void __init bdev_cache_init(void)
 	if (err)
 		panic("Cannot register bdev pseudo-fs");
 	bd_mnt = kern_mount(&bd_type);
-	err = PTR_ERR(bd_mnt);
 	if (IS_ERR(bd_mnt))
 		panic("Cannot create bdev pseudo-fs");
 	blockdev_superblock = bd_mnt->mnt_sb;	/* For writeback */
_

Patches currently in -mm which might be from qiyong@xxxxxxxxx are

kill-an-unused-ptr_err-in-bdev_cache_init.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