2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

Stupid error

This commit is contained in:
Andreas Gruenbacher
2007-04-18 15:18:15 +00:00
parent d785c1ffc6
commit 21adaaceb7
2 changed files with 2 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
read_unlock(&current->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;

View File

@@ -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;