mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +00:00
Stupid error
This commit is contained in:
@@ -18,7 +18,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
read_unlock(¤t->fs->lock);
|
||||
|
||||
cwd = __d_path(pwd, pwdmnt, root, rootmnt, page, PAGE_SIZE, 1);
|
||||
- cwd = __connect_d_path(res, page);
|
||||
- cwd = __connect_d_path(cwd, page);
|
||||
error = PTR_ERR(cwd);
|
||||
if (IS_ERR(cwd))
|
||||
goto out;
|
||||
|
@@ -252,7 +252,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
||||
- } else
|
||||
- spin_unlock(&dcache_lock);
|
||||
+ cwd = __d_path(pwd, pwdmnt, root, rootmnt, page, PAGE_SIZE, 1);
|
||||
+ cwd = __connect_d_path(res, page);
|
||||
+ cwd = __connect_d_path(cwd, page);
|
||||
+ error = PTR_ERR(cwd);
|
||||
+ if (IS_ERR(cwd))
|
||||
+ goto out;
|
||||
|
Reference in New Issue
Block a user