]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - security/apparmor/lsm.c
Apparmor: mediated_filesystem() should use dentry->d_sb not inode->i_sb
authorDavid Howells <dhowells@redhat.com>
Thu, 29 Jan 2015 12:02:31 +0000 (12:02 +0000)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 22 Feb 2015 16:38:39 +0000 (11:38 -0500)
commit7ac2856d99e8038d356767c81ef7f2e85d366441
treef56b9d59ecbeeb69da6d4d7c2aeaa1cd7418b988
parent44bdb5e5f6382ba88f7678d6f535f879324522ae
Apparmor: mediated_filesystem() should use dentry->d_sb not inode->i_sb

mediated_filesystem() should use dentry->d_sb not dentry->d_inode->i_sb and
should avoid file_inode() also since it is really dealing with the path.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
security/apparmor/include/apparmor.h
security/apparmor/lsm.c