Merge branch 'for-4.4/io-poll' of git://git.kernel.dk/linux-block
[cascardo/linux.git] / fs / f2fs / namei.c
index e48b80c..2c32110 100644 (file)
@@ -481,9 +481,6 @@ static int f2fs_mknod(struct inode *dir, struct dentry *dentry,
        struct inode *inode;
        int err = 0;
 
-       if (!new_valid_dev(rdev))
-               return -EINVAL;
-
        f2fs_balance_fs(sbi);
 
        inode = f2fs_new_inode(dir, mode);