]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit161ce45a8a34ba81673f60c603e6fc6d37d99c8f
tree7e3851140870164beb585f32a70e2dc81668f391
parentcde174a885821b5eee7e00c8a9a426c9c8186a29
[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