static void v9fs_umount_begin(struct super_block *sb) { struct v9fs_session_info *v9ses = sb->s_fs_info; v9fs_session_cancel(v9ses); }
static void v9fs_umount_begin(struct vfsmount *vfsmnt, int flags) { struct v9fs_session_info *v9ses = vfsmnt->mnt_sb->s_fs_info; if (flags & MNT_FORCE) v9fs_session_cancel(v9ses); }
static void v9fs_kill_super(struct super_block *s) { struct v9fs_session_info *v9ses = s->s_fs_info; p9_debug(P9_DEBUG_VFS, " %p\n", s); kill_anon_super(s); v9fs_session_cancel(v9ses); v9fs_session_close(v9ses); kfree(v9ses); s->s_fs_info = NULL; p9_debug(P9_DEBUG_VFS, "exiting kill_super\n"); }
static void v9fs_kill_super(struct super_block *s) { struct v9fs_session_info *v9ses = s->s_fs_info; P9_DPRINTK(P9_DEBUG_VFS, " %p\n", s); if (s->s_root) v9fs_dentry_release(s->s_root); /* clunk root */ kill_anon_super(s); v9fs_session_cancel(v9ses); v9fs_session_close(v9ses); kfree(v9ses); s->s_fs_info = NULL; P9_DPRINTK(P9_DEBUG_VFS, "exiting kill_super\n"); }