]> git.hungrycats.org Git - linux/commitdiff
[PATCH] [PATCH] duplicate declarations #2
authorThomas 'Dent' Mirlacher <dent@cosy.sbg.ac.at>
Mon, 15 Jul 2002 06:10:15 +0000 (23:10 -0700)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Mon, 15 Jul 2002 06:10:15 +0000 (23:10 -0700)
 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

include/linux/fs.h
include/linux/namespace.h

index 2b6008d56ca84e976812c07d7c26e2e5722d834b..2ac85b8e28a3c25d1328fb02506281b600e059b1 100644 (file)
@@ -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
 
index 1113fe62d6cd6d9b12b0e45b33d071c077e12565..acd64b4ca117273ded1eaf605f7f7ae359910121 100644 (file)
@@ -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)) {