diff options
author | Tomohiro Kusumi <kusumi.tomohiro@gmail.com> | 2016-10-11 13:52:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-10-11 15:06:31 -0700 |
commit | 97537b35b662855e19f2812d3d716bde6f237cfa (patch) | |
tree | d18bb30c752e89af6f6dd764495c68eaae69db19 /security/lsm_audit.c | |
parent | 1973a122697168c0585ffce9d4bd46745ddaa6f6 (diff) | |
download | op-kernel-dev-97537b35b662855e19f2812d3d716bde6f237cfa.zip op-kernel-dev-97537b35b662855e19f2812d3d716bde6f237cfa.tar.gz |
autofs: add WARN_ON(1) for non dir/link inode case
It's invalid if the given mode is neither dir nor link, so warn on else
case.
Link: http://lkml.kernel.org/r/20160812024754.12352.8536.stgit@pluto.themaw.net
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@gmail.com>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions