diff options
author | 2015-01-29 12:02:31 +0000 | |
---|---|---|
committer | 2015-02-22 11:38:39 -0500 | |
commit | 729b8a3dee2bc873e4647e9384de9111548e599e (patch) | |
tree | 68e36ab6d1e2cde74df58097af1e8f62b72cdf22 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | Apparmor: mediated_filesystem() should use dentry->d_sb not inode->i_sb (diff) | |
download | wireguard-linux-729b8a3dee2bc873e4647e9384de9111548e599e.tar.xz wireguard-linux-729b8a3dee2bc873e4647e9384de9111548e599e.zip |
Apparmor: Use d_is_positive/negative() rather than testing dentry->d_inode
Use d_is_positive(dentry) or d_is_negative(dentry) rather than testing
dentry->d_inode as the dentry may cover another layer that has an inode when
the top layer doesn't or may hold a 0,0 chardev that's actually a whiteout.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions