forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Push BKL down into ->umount_begin() Signed-off-by: Alessio Igor Bogani <[email protected]> Signed-off-by: Al Viro <[email protected]>
- Loading branch information
Alessio Igor Bogani
authored and
Al Viro
committed
May 9, 2009
1 parent
091bf76
commit 67e5520
Showing
5 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ | |
#include <linux/random.h> | ||
#include <linux/sched.h> | ||
#include <linux/exportfs.h> | ||
#include <linux/smp_lock.h> | ||
|
||
MODULE_AUTHOR("Miklos Szeredi <[email protected]>"); | ||
MODULE_DESCRIPTION("Filesystem in Userspace"); | ||
|
@@ -259,7 +260,9 @@ struct inode *fuse_iget(struct super_block *sb, u64 nodeid, | |
|
||
static void fuse_umount_begin(struct super_block *sb) | ||
{ | ||
lock_kernel(); | ||
fuse_abort_conn(get_fuse_conn_super(sb)); | ||
unlock_kernel(); | ||
} | ||
|
||
static void fuse_send_destroy(struct fuse_conn *fc) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters