fs: Add destroy_inode callbacks to filesystems
Several filesystems rely on the default function which frees
the struct inode * rather than the filesystem specific inode
which the inode is embedded in. This works because the inode
is the first element in the filesystem specific inode. Let's
not depend on this behaviour and for clarity add the destroy_inode
callbacks to all filesystems.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b31478f commit d0d073f12aaf09e856dc779cdf36410e3c8c68ea
@Sascha Hauer Sascha Hauer authored on 11 Jun 2020
Showing 5 changed files
View
fs/cramfs/cramfs.c
View
fs/devfs.c
View
fs/nfs.c
View
fs/ramfs.c
View
fs/squashfs/squashfs.c