summaryrefslogtreecommitdiff
path: root/fs/overlayfs/super.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2016-07-29 12:05:22 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2016-07-29 12:05:22 +0200
commiteead4f2dc4f851a3790c49850e96a1d155bf5451 (patch)
tree20a545bbb366d3214a8cf091b80c48b1666f73c2 /fs/overlayfs/super.c
parentc1b2cc1a765aff4df7b22abe6b66014236f73eba (diff)
ovl: use generic_delete_inode
No point in keeping overlay inodes around since they will never be reused. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/super.c')
-rw-r--r--fs/overlayfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index cbfa0398f9da..5341ca57677c 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -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 {