提交 6b09ae66 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

make __put_super() static

Make the needlessly global __put_super() static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 8b1919a1
...@@ -117,7 +117,7 @@ static inline void destroy_super(struct super_block *s) ...@@ -117,7 +117,7 @@ static inline void destroy_super(struct super_block *s)
* Drop a superblock's refcount. Returns non-zero if the superblock was * Drop a superblock's refcount. Returns non-zero if the superblock was
* destroyed. The caller must hold sb_lock. * destroyed. The caller must hold sb_lock.
*/ */
int __put_super(struct super_block *sb) static int __put_super(struct super_block *sb)
{ {
int ret = 0; int ret = 0;
......
...@@ -1521,7 +1521,6 @@ extern int get_sb_pseudo(struct file_system_type *, char *, ...@@ -1521,7 +1521,6 @@ extern int get_sb_pseudo(struct file_system_type *, char *,
const struct super_operations *ops, unsigned long, const struct super_operations *ops, unsigned long,
struct vfsmount *mnt); struct vfsmount *mnt);
extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb); extern int simple_set_mnt(struct vfsmount *mnt, struct super_block *sb);
int __put_super(struct super_block *sb);
int __put_super_and_need_restart(struct super_block *sb); int __put_super_and_need_restart(struct super_block *sb);
void unnamed_dev_init(void); void unnamed_dev_init(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册