Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
b4445 some fix for smfs_delete_inode
[fs/lustre-release.git]
/
lustre
/
smfs
/
super.c
diff --git
a/lustre/smfs/super.c
b/lustre/smfs/super.c
index
1056bfc
..
dd92c0b
100644
(file)
--- a/
lustre/smfs/super.c
+++ b/
lustre/smfs/super.c
@@
-69,12
+69,16
@@
struct super_block *smfs_get_sb(struct file_system_type *fs_type, int flags,
{
return get_sb_nodev(fs_type, flags, data, smfs_fill_super);
}
-
+void smfs_kill_super(struct super_block *sb)
+{
+ smfs_cleanup_hooks(S2SMI(sb));
+ kill_anon_super(sb);
+}
static struct file_system_type smfs_type = {
.owner = THIS_MODULE,
.name = "smfs",
.get_sb = smfs_get_sb,
- .kill_sb =
kill_anon
_super,
+ .kill_sb =
smfs_kill
_super,
};
#endif