ovl: use generic_delete_inode
authorMiklos Szeredi <mszeredi@redhat.com>
Fri, 29 Jul 2016 10:05:22 +0000 (12:05 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Fri, 29 Jul 2016 10:05:22 +0000 (12:05 +0200)
No point in keeping overlay inodes around since they will never be reused.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c

index cbfa0398f9dabf22ae47697da33e7f0328d29c6c..5341ca57677cad1734f56b485846c8c76406493f 100644 (file)
@@ -691,6 +691,7 @@ static const struct super_operations ovl_super_operations = {
        .statfs         = ovl_statfs,
        .show_options   = ovl_show_options,
        .remount_fs     = ovl_remount,
+       .drop_inode     = generic_delete_inode,
 };
 
 enum {