diff options
author | 2021-03-01 20:37:10 -0500 | |
---|---|---|
committer | 2021-03-08 10:19:35 -0500 | |
commit | 6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85 (patch) | |
tree | ef51a46d8ebbfa4300e6fa4f1c20b171b351bf13 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Linux 5.12-rc2 (diff) | |
download | wireguard-linux-6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85.tar.xz wireguard-linux-6e3e2c4362e41a2f18e3f7a5ad81bd2f49a47b85.zip |
new helper: inode_wrong_type()
inode_wrong_type(inode, mode) returns true if setting inode->i_mode
to given value would've changed the inode type. We have enough of
those checks open-coded to make a helper worthwhile.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions