head	1.1;
access;
symbols
	LKML-branch:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2006.10.17.22.27.42;	author jsipek;	state dead;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2006.10.17.22.27.42;	author jsipek;	state Exp;
branches;
next	1.1.2.2;

1.1.2.2
date	2006.10.24.06.05.37;	author jsipek;	state dead;
branches;
next	;


desc
@@


1.1
log
@file fsstack-tidy was initially added on branch LKML-branch.
@
text
@@


1.1.2.1
log
@fsstack is now in -mm
@
text
@a0 71
fsstack-introduce-fsstack_copy_attrinode_-tidy

From: Andrew Morton <akpm@@osdl.org>

Remove unneeded wrapper.

Cc: Josef "Jeff" Sipek <jsipek@@cs.sunysb.edu>
Cc: Michael Halcrow <mhalcrow@@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@@osdl.org>
---

 fs/stack.c               |   10 ++++------
 include/linux/fs_stack.h |   12 ++----------
 2 files changed, 6 insertions(+), 16 deletions(-)

diff -puN fs/stack.c~fsstack-introduce-fsstack_copy_attrinode_-tidy fs/stack.c
--- a/fs/stack.c~fsstack-introduce-fsstack_copy_attrinode_-tidy
+++ a/fs/stack.c
@@@@ -11,13 +11,13 @@@@ void fsstack_copy_inode_size(struct inod
 	i_size_write(dst, i_size_read((struct inode *)src));
 	dst->i_blocks = src->i_blocks;
 }
+EXPORT_SYMBOL_GPL(fsstack_copy_inode_size);
 
 /* copy all attributes; get_nlinks is optional way to override the i_nlink
  * copying
  */
-void __fsstack_copy_attr_all(struct inode *dest,
-			     const struct inode *src,
-			     int (*get_nlinks)(struct inode *))
+void fsstack_copy_attr_all(struct inode *dest, const struct inode *src,
+				int (*get_nlinks)(struct inode *))
 {
 	if (!get_nlinks)
 		dest->i_nlink = src->i_nlink;
@@@@ -34,6 +34,4 @@@@ void __fsstack_copy_attr_all(struct inod
 	dest->i_blkbits = src->i_blkbits;
 	dest->i_flags = src->i_flags;
 }
-
-EXPORT_SYMBOL_GPL(fsstack_copy_inode_size);
-EXPORT_SYMBOL_GPL(__fsstack_copy_attr_all);
+EXPORT_SYMBOL_GPL(fsstack_copy_attr_all);
diff -puN include/linux/fs_stack.h~fsstack-introduce-fsstack_copy_attrinode_-tidy include/linux/fs_stack.h
--- a/include/linux/fs_stack.h~fsstack-introduce-fsstack_copy_attrinode_-tidy
+++ a/include/linux/fs_stack.h
@@@@ -8,9 +8,8 @@@@
 #include <linux/fs.h>
 
 /* externs for fs/stack.c */
-extern void __fsstack_copy_attr_all(struct inode *dest,
-				    const struct inode *src,
-				    int (*get_nlinks)(struct inode *));
+extern void fsstack_copy_attr_all(struct inode *dest, const struct inode *src,
+				int (*get_nlinks)(struct inode *));
 
 extern void fsstack_copy_inode_size(struct inode *dst, const struct inode *src);
 
@@@@ -29,11 +28,4 @@@@ static inline void fsstack_copy_attr_tim
 	dest->i_ctime = src->i_ctime;
 }
 
-static inline void fsstack_copy_attr_all(struct inode *dest,
-					 const struct inode *src)
-{
-	__fsstack_copy_attr_all(dest, src, NULL);
-}
-
 #endif /* _LINUX_FS_STACK_H */
-

@


1.1.2.2
log
@Move patches already in mm into a subdir
@
text
@@


