1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-21 13:54:31 +00:00
Al Viro 6e3e2c4362 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>
2021-03-08 10:19:35 -05:00
..
2021-02-02 00:16:57 +01:00
2021-02-22 10:27:48 -08:00
2021-01-23 14:57:21 +01:00
2021-02-21 14:44:44 -08:00
2021-02-22 09:27:18 -08:00
2021-02-22 13:29:55 -08:00
2021-02-25 10:17:31 -08:00
2021-02-26 15:49:51 -07:00
2021-01-24 14:27:17 +01:00
2021-02-26 09:41:03 -08:00
2021-02-17 14:07:48 +01:00
2021-01-21 14:06:00 -07:00
2021-02-28 12:06:45 -08:00
2021-01-16 15:12:06 -05:00
2021-01-18 14:26:51 +01:00
2021-02-24 09:54:24 -08:00
2021-02-08 12:28:07 +01:00
2021-03-08 10:19:35 -05:00
2021-02-11 13:24:44 -08:00
2021-02-23 13:39:45 -08:00
2021-03-04 06:36:22 -07:00
2021-02-21 10:29:20 -08:00
2021-01-27 12:27:36 +01:00
2021-02-26 09:41:03 -08:00
2021-01-18 16:13:51 +01:00
2021-02-17 14:12:42 +01:00
2021-02-26 10:19:03 -08:00
2021-01-21 16:16:10 +00:00
2021-02-26 09:41:02 -08:00
2021-02-26 09:41:03 -08:00
2021-01-22 15:09:42 +01:00
2021-01-14 11:20:17 +01:00
2021-02-23 13:39:45 -08:00
2021-02-23 13:39:45 -08:00
2021-02-26 09:41:03 -08:00
2021-02-08 12:28:07 +01:00
2021-02-16 16:11:14 -05:00
2021-02-26 09:17:24 -08:00
2021-02-02 10:26:12 +01:00
2021-02-17 13:17:49 -08:00
2021-02-26 09:40:59 -08:00
2021-01-21 14:06:00 -07:00
2021-02-03 19:05:50 +01:00
2021-02-25 09:56:08 -08:00
2021-02-23 09:28:51 -08:00
2021-01-24 14:27:17 +01:00
2021-01-24 14:27:20 +01:00
2021-02-26 09:41:03 -08:00
2021-02-21 12:35:04 -08:00
2021-01-16 23:19:26 +01:00
2021-02-23 13:39:45 -08:00
2021-01-28 00:35:03 +01:00
2021-03-02 17:25:46 -07:00
2021-02-20 10:13:32 -05:00
2021-02-23 13:39:45 -08:00
2021-02-09 12:27:29 -05:00
2021-02-20 21:28:04 -08:00
2021-02-13 17:17:53 +01:00
2021-01-21 16:16:10 +00:00
2021-02-01 13:20:07 -07:00
2021-01-18 10:52:41 +01:00
2021-02-09 12:15:07 +01:00
2021-01-21 14:06:00 -07:00
2021-01-24 14:27:17 +01:00
2021-02-08 22:58:55 +01:00