fuse: switch to ->free_inode()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 Apr 2019 23:37:09 +0000 (19:37 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 2 May 2019 02:43:26 +0000 (22:43 -0400)
commit9baf28bbfea165a62211dd90986d993d77631372
tree12c9585667a3b83090f37e94590802298c1d3f34
parent94053139d4821c2b9306741b94500514348660ad
fuse: switch to ->free_inode()

fuse_destroy_inode() is gone - sanity checks that need the stack
trace of the caller get moved into ->evict_inode(), the rest joins
the RCU-delayed part which becomes ->free_inode().

While we are at it, don't just pass the address of what happens
to be the first member of structure to kmem_cache_free() -
get_fuse_inode() is there for purpose and it gives the proper
container_of() use.  No behaviour change, but verifying correctness
is easier that way.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/fuse/inode.c