X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Ff2fs%2Fnamei.c;h=2c32110f9fc082408b318cac2142602ab7888a9e;hb=544a2bde9389fd90f5015a784fa9727d3646e74d;hp=e48b80c490905ac500958b9f7b0a74de38dc8463;hpb=d7f40cc754bf479cca4a0f607b173efd4e6c805a;p=karo-tx-linux.git diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index e48b80c49090..2c32110f9fc0 100644 --- a/fs/f2fs/namei.c +++ b/fs/f2fs/namei.c @@ -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);