All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] fs-reiserfs-remove-unnecessary-new_valid_dev-check.patch removed from -mm tree
@ 2015-11-10 20:33 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-11-10 20:33 UTC (permalink / raw)
  To: bywxiaobai, viro, mm-commits


The patch titled
     Subject: fs/reiserfs/namei.c: remove unnecessary new_valid_dev() check
has been removed from the -mm tree.  Its filename was
     fs-reiserfs-remove-unnecessary-new_valid_dev-check.patch

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

------------------------------------------------------
From: Yaowei Bai <bywxiaobai@163.com>
Subject: fs/reiserfs/namei.c: remove unnecessary new_valid_dev() check

new_valid_dev() always returns 1, so the !new_valid_dev() check is not
needed.  Remove it.

Signed-off-by: Yaowei Bai <bywxiaobai@163.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/reiserfs/namei.c |    3 ---
 1 file changed, 3 deletions(-)

diff -puN fs/reiserfs/namei.c~fs-reiserfs-remove-unnecessary-new_valid_dev-check fs/reiserfs/namei.c
--- a/fs/reiserfs/namei.c~fs-reiserfs-remove-unnecessary-new_valid_dev-check
+++ a/fs/reiserfs/namei.c
@@ -712,9 +712,6 @@ static int reiserfs_mknod(struct inode *
 	    2 * (REISERFS_QUOTA_INIT_BLOCKS(dir->i_sb) +
 		 REISERFS_QUOTA_TRANS_BLOCKS(dir->i_sb));
 
-	if (!new_valid_dev(rdev))
-		return -EINVAL;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-10 20:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10 20:33 [merged] fs-reiserfs-remove-unnecessary-new_valid_dev-check.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.