diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-04-09 21:32:22 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-09 21:32:22 -0700 |
| commit | 13c9d416c0758a001b2a18379715ed6128eed0aa (patch) | |
| tree | 7ba6d6ca3d1172d0b47850ef59a680c353001d4c /include | |
| parent | c03285bf7b00820248fd30b159208d08297c63fd (diff) | |
[PATCH] jffs2_get_sb() fixes
Fixes races in jffs2_get_sb() - current code has a window when two
mounts of the same mtd device can miss each other, resulting in two
active instances of jffs2 fighting over the same device.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index f722d24d2242..ce6bd67e4cc9 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -956,6 +956,7 @@ struct super_block *get_sb_single(struct file_system_type *fs_type, struct super_block *get_sb_nodev(struct file_system_type *fs_type, int flags, void *data, int (*fill_super)(struct super_block *, void *, int)); +void generic_shutdown_super(struct super_block *sb); void kill_block_super(struct super_block *sb); void kill_anon_super(struct super_block *sb); void kill_litter_super(struct super_block *sb); |
