Loading fs/namei.c +2 −0 Original line number Diff line number Diff line Loading @@ -2920,6 +2920,8 @@ static int atomic_open(struct nameidata *nd, struct dentry *dentry, acc_mode = 0; } error = may_open(&file->f_path, acc_mode, open_flag); if (WARN_ON(error > 0)) error = -EINVAL; out: dput(dentry); return error; Loading Loading
fs/namei.c +2 −0 Original line number Diff line number Diff line Loading @@ -2920,6 +2920,8 @@ static int atomic_open(struct nameidata *nd, struct dentry *dentry, acc_mode = 0; } error = may_open(&file->f_path, acc_mode, open_flag); if (WARN_ON(error > 0)) error = -EINVAL; out: dput(dentry); return error; Loading