]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] selinuxfs cleanups: sel_fill_super exit path
authorJames Morris <jmorris@namei.org>
Wed, 22 Mar 2006 08:09:17 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:07 +0000 (07:54 -0800)
commit20497d0062a024fe6a16ba627535bc5487cef227
tree7e3851140870164beb585f32a70e2dc81668f391
parent1f9a000f0eec5caccfd7f4b580c9f9019101ab98
[PATCH] selinuxfs cleanups: sel_fill_super exit path

Unify the error path of sel_fill_super() so that all errors pass through the
same point and generate an error message.  Also, removes a spurious dput() in
the error path which breaks the refcounting for the filesystem
(litter_kill_super() will correctly clean things up itself on error).

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/selinuxfs.c