The patch titled Subject: fs/btrfs/inode.c: remove unnecessary new_valid_dev() check has been removed from the -mm tree. Its filename was fs-btrfs-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@xxxxxxx> Subject: fs/btrfs/inode.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@xxxxxxx> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Cc: Chris Mason <clm@xxxxxx> Cc: Josef Bacik <jbacik@xxxxxx> Acked-by: David Sterba <dsterba@xxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/btrfs/inode.c | 3 --- 1 file changed, 3 deletions(-) diff -puN fs/btrfs/inode.c~fs-btrfs-remove-unnecessary-new_valid_dev-check fs/btrfs/inode.c --- a/fs/btrfs/inode.c~fs-btrfs-remove-unnecessary-new_valid_dev-check +++ a/fs/btrfs/inode.c @@ -6360,9 +6360,6 @@ static int btrfs_mknod(struct inode *dir u64 objectid; u64 index = 0; - if (!new_valid_dev(rdev)) - return -EINVAL; - /* * 2 for inode item and ref * 2 for dir items _ Patches currently in -mm which might be from bywxiaobai@xxxxxxx are -- 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