Files
android_kernel_xiaomi_sm8450/Documentation/filesystems
Al Viro fdb0da89f4 new inode method: ->free_inode()
A lot of ->destroy_inode() instances end with call_rcu() of a callback
that does RCU-delayed part of freeing.  Introduce a new method for
doing just that, with saner signature.

Rules:
->destroy_inode		->free_inode
	f			g		immediate call of f(),
						RCU-delayed call of g()
	f			NULL		immediate call of f(),
						no RCU-delayed calls
	NULL			g		RCU-delayed call of g()
	NULL			NULL		RCU-delayed default freeing

IOW, NULL ->free_inode gives the same behaviour as now.

Note that NULL, NULL is equivalent to NULL, free_inode_nonrcu; we could
mandate the latter form, but that would have very little benefit beyond
making rules a bit more symmetric.  It would break backwards compatibility,
require extra boilerplate and expected semantics for (NULL, NULL) pair
would have no use whatsoever...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2019-05-01 22:37:39 -04:00
..
2019-03-14 19:32:36 -05:00
2017-05-12 15:57:15 -07:00
2017-10-15 00:47:23 -04:00
2015-07-23 20:59:40 +02:00
2018-03-20 17:11:45 +01:00
2019-05-01 22:37:39 -04:00
2019-03-28 08:54:20 -07:00
2018-04-04 14:05:48 -04:00
2019-05-01 22:37:39 -04:00
2016-03-09 15:33:06 -07:00
2018-10-23 13:49:01 +02:00