On Wed 20-12-23 05:28:31, Al Viro wrote: > Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx> Indeed. Acked-by: Jan Kara <jack@xxxxxxx> Honza > --- > fs/udf/namei.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/fs/udf/namei.c b/fs/udf/namei.c > index a64102d63781..b1674e07d5a5 100644 > --- a/fs/udf/namei.c > +++ b/fs/udf/namei.c > @@ -228,8 +228,6 @@ static int udf_fiiter_add_entry(struct inode *dir, struct dentry *dentry, > char name[UDF_NAME_LEN_CS0]; > > if (dentry) { > - if (!dentry->d_name.len) > - return -EINVAL; > namelen = udf_put_filename(dir->i_sb, dentry->d_name.name, > dentry->d_name.len, > name, UDF_NAME_LEN_CS0); > -- > 2.39.2 > -- Jan Kara <jack@xxxxxxxx> SUSE Labs, CR