mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-01 14:55:10 +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);
|
read_unlock(¤t->fs->lock);
|
||||||
|
|
||||||
cwd = __d_path(pwd, pwdmnt, root, rootmnt, page, PAGE_SIZE, 1);
|
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);
|
error = PTR_ERR(cwd);
|
||||||
if (IS_ERR(cwd))
|
if (IS_ERR(cwd))
|
||||||
goto out;
|
goto out;
|
||||||
|
@@ -252,7 +252,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|||||||
- } else
|
- } else
|
||||||
- spin_unlock(&dcache_lock);
|
- spin_unlock(&dcache_lock);
|
||||||
+ cwd = __d_path(pwd, pwdmnt, root, rootmnt, page, PAGE_SIZE, 1);
|
+ 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);
|
+ error = PTR_ERR(cwd);
|
||||||
+ if (IS_ERR(cwd))
|
+ if (IS_ERR(cwd))
|
||||||
+ goto out;
|
+ goto out;
|
||||||
|
Reference in New Issue
Block a user