Commit 62ce39c5 authored by Josef 'Jeff' Sipek's avatar Josef 'Jeff' Sipek Committed by Linus Torvalds

fs: fix indentation in do_path_lookup

Signed-off-by: default avatarJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Acked-by: default avatarChristoph Hellwig <hch@infradead.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 35c35d1a
...@@ -1155,11 +1155,9 @@ static int fastcall do_path_lookup(int dfd, const char *name, ...@@ -1155,11 +1155,9 @@ static int fastcall do_path_lookup(int dfd, const char *name,
current->total_link_count = 0; current->total_link_count = 0;
retval = link_path_walk(name, nd); retval = link_path_walk(name, nd);
out: out:
if (likely(retval == 0)) { if (unlikely(!retval && !audit_dummy_context() && nd->dentry &&
if (unlikely(!audit_dummy_context() && nd && nd->dentry &&
nd->dentry->d_inode)) nd->dentry->d_inode))
audit_inode(name, nd->dentry->d_inode); audit_inode(name, nd->dentry->d_inode);
}
out_fail: out_fail:
return retval; return retval;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment