gfs2: switch to ->free_inode()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 Apr 2019 23:45:26 +0000 (19:45 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 2 May 2019 02:43:24 +0000 (22:43 -0400)
commit784494e1d759622fef9fb633f0100935c692adb3
tree88d9e6a26496e022d4ba4e33b557cb4e2616730e
parent9f179271e7bfafb5786c70f275956e2118eb7383
gfs2: switch to ->free_inode()

... and use GFS2_I() to get the containing gfs2_inode by inode;
yes, we can feed the address of the first member of structure
to kmem_cache_free(), but let's do it in an obviously safe way.

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