Commit d8ee26e7 authored by Thomas 'Dent' Mirlacher's avatar Thomas 'Dent' Mirlacher Committed by Linus Torvalds

[PATCH] [PATCH] duplicate declarations #2

 this one slipped through the last fix for the redeclarations i sent,
 please apply this on to of the other one.

 description:
   umount_tree() is just used in namespace.[ch], so it declaration
   belongs into namespace.h and not fs.h
parent e1243cf4
......@@ -988,7 +988,6 @@ extern int unregister_filesystem(struct file_system_type *);
extern struct vfsmount *kern_mount(struct file_system_type *);
extern int may_umount(struct vfsmount *);
extern long do_mount(char *, char *, char *, unsigned long, void *);
extern void umount_tree(struct vfsmount *);
#define kern_umount mntput
......
......@@ -14,6 +14,8 @@ struct namespace {
void umount_tree(struct vfsmount *mnt);
extern void umount_tree(struct vfsmount *);
static inline void put_namespace(struct namespace *namespace)
{
if (atomic_dec_and_test(&namespace->count)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment