projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35c35d1
)
fs: fix indentation in do_path_lookup
author
Josef 'Jeff' Sipek
<
[email protected]
>
Wed, 9 May 2007 09:33:41 +0000
(
02:33
-0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 9 May 2007 19:30:49 +0000
(12:30 -0700)
Signed-off-by: Josef 'Jeff' Sipek <
[email protected]
>
Acked-by: Christoph Hellwig <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/namei.c
patch
|
blob
|
history
diff --git
a/fs/namei.c
b/fs/namei.c
index 856b2f5da51d74928108430bf0f6b96d14d8394f..19f178ec5744f9c62fe8a6637bb313bfe6b7779c 100644
(file)
--- a/
fs/namei.c
+++ b/
fs/namei.c
@@
-1155,11
+1155,9
@@
static int fastcall do_path_lookup(int dfd, const char *name,
current->total_link_count = 0;
retval = link_path_walk(name, nd);
out:
- if (likely(retval == 0)) {
- if (unlikely(!audit_dummy_context() && nd && nd->dentry &&
+ if (unlikely(!retval && !audit_dummy_context() && nd->dentry &&
nd->dentry->d_inode))
audit_inode(name, nd->dentry->d_inode);
- }
out_fail:
return retval;