Loading drivers/misc/cxl/api.c +4 −4 Original line number Diff line number Diff line Loading @@ -103,15 +103,15 @@ static struct file *cxl_getfile(const char *name, d_instantiate(path.dentry, inode); file = alloc_file(&path, OPEN_FMODE(flags), fops); if (IS_ERR(file)) goto err_dput; if (IS_ERR(file)) { path_put(&path); goto err_fs; } file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); file->private_data = priv; return file; err_dput: path_put(&path); err_inode: iput(inode); err_fs: Loading Loading
drivers/misc/cxl/api.c +4 −4 Original line number Diff line number Diff line Loading @@ -103,15 +103,15 @@ static struct file *cxl_getfile(const char *name, d_instantiate(path.dentry, inode); file = alloc_file(&path, OPEN_FMODE(flags), fops); if (IS_ERR(file)) goto err_dput; if (IS_ERR(file)) { path_put(&path); goto err_fs; } file->f_flags = flags & (O_ACCMODE | O_NONBLOCK); file->private_data = priv; return file; err_dput: path_put(&path); err_inode: iput(inode); err_fs: Loading