From 40876b4b81294c228772926c7dff4242386402ee Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Tue, 3 Feb 2004 18:35:28 -0800 Subject: [PATCH] [PATCH] gcc-3.5: vxfs fixes fs/freevxfs/vxfs.h:33:10: warning: extra tokens at end of #ident directive fs/freevxfs/vxfs_extern.h:75: sorry, unimplemented: inlining failed in call to 'vxfs_put_page': function body not available --- fs/freevxfs/vxfs.h | 2 -- fs/freevxfs/vxfs_bmap.c | 2 -- fs/freevxfs/vxfs_dir.h | 2 -- fs/freevxfs/vxfs_extern.h | 4 +--- fs/freevxfs/vxfs_fshead.c | 2 -- fs/freevxfs/vxfs_fshead.h | 2 -- fs/freevxfs/vxfs_immed.c | 2 -- fs/freevxfs/vxfs_inode.c | 2 -- fs/freevxfs/vxfs_inode.h | 2 -- fs/freevxfs/vxfs_lookup.c | 2 -- fs/freevxfs/vxfs_olt.c | 2 -- fs/freevxfs/vxfs_olt.h | 2 -- fs/freevxfs/vxfs_subr.c | 15 ++++++--------- fs/freevxfs/vxfs_super.c | 2 -- 14 files changed, 7 insertions(+), 36 deletions(-) diff --git a/fs/freevxfs/vxfs.h b/fs/freevxfs/vxfs.h index 385e544171605..8da0252642a49 100644 --- a/fs/freevxfs/vxfs.h +++ b/fs/freevxfs/vxfs.h @@ -30,8 +30,6 @@ #ifndef _VXFS_SUPER_H_ #define _VXFS_SUPER_H_ -#ident "$Id: vxfs.h 1.12 2001/12/28 19:48:03 hch Exp $" - /* * Veritas filesystem driver - superblock structure. * diff --git a/fs/freevxfs/vxfs_bmap.c b/fs/freevxfs/vxfs_bmap.c index 861654a37b20f..7c077701ccb6d 100644 --- a/fs/freevxfs/vxfs_bmap.c +++ b/fs/freevxfs/vxfs_bmap.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_bmap.c,v 1.25 2002/01/02 23:36:55 hch Exp hch $" - /* * Veritas filesystem driver - filesystem to disk block mapping. */ diff --git a/fs/freevxfs/vxfs_dir.h b/fs/freevxfs/vxfs_dir.h index b4271e244b132..8a4dfef1ddad7 100644 --- a/fs/freevxfs/vxfs_dir.h +++ b/fs/freevxfs/vxfs_dir.h @@ -30,8 +30,6 @@ #ifndef _VXFS_DIR_H_ #define _VXFS_DIR_H_ -#ident "$Id: vxfs_dir.h,v 1.7 2001/05/21 15:48:26 hch Exp hch $" - /* * Veritas filesystem driver - directory structure. * diff --git a/fs/freevxfs/vxfs_extern.h b/fs/freevxfs/vxfs_extern.h index 1f76609ee08c3..0e4cc9ff505ec 100644 --- a/fs/freevxfs/vxfs_extern.h +++ b/fs/freevxfs/vxfs_extern.h @@ -30,8 +30,6 @@ #ifndef _VXFS_EXTERN_H_ #define _VXFS_EXTERN_H_ -#ident "$Id: vxfs_extern.h,v 1.22 2001/12/28 20:50:47 hch Exp hch $" - /* * Veritas filesystem driver - external prototypes. * @@ -72,7 +70,7 @@ extern int vxfs_read_olt(struct super_block *, u_long); /* vxfs_subr.c */ extern struct page * vxfs_get_page(struct address_space *, u_long); -extern __inline__ void vxfs_put_page(struct page *); +extern void vxfs_put_page(struct page *); extern struct buffer_head * vxfs_bread(struct inode *, int); #endif /* _VXFS_EXTERN_H_ */ diff --git a/fs/freevxfs/vxfs_fshead.c b/fs/freevxfs/vxfs_fshead.c index bf8f5e3f90da7..05b19f70bf97e 100644 --- a/fs/freevxfs/vxfs_fshead.c +++ b/fs/freevxfs/vxfs_fshead.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_fshead.c,v 1.20 2002/01/02 22:02:12 hch Exp hch $" - /* * Veritas filesystem driver - fileset header routines. */ diff --git a/fs/freevxfs/vxfs_fshead.h b/fs/freevxfs/vxfs_fshead.h index 28fc5c6a586c7..ead0d640c1814 100644 --- a/fs/freevxfs/vxfs_fshead.h +++ b/fs/freevxfs/vxfs_fshead.h @@ -30,8 +30,6 @@ #ifndef _VXFS_FSHEAD_H_ #define _VXFS_FSHEAD_H_ -#ident "$Id: vxfs_fshead.h,v 1.7 2001/05/23 17:27:39 hch Exp hch $" - /* * Veritas filesystem driver - fileset header structures. * diff --git a/fs/freevxfs/vxfs_immed.c b/fs/freevxfs/vxfs_immed.c index 55154cf741220..be243053a7c1b 100644 --- a/fs/freevxfs/vxfs_immed.c +++ b/fs/freevxfs/vxfs_immed.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_immed.c,v 1.10 2001/04/25 18:11:23 hch Exp hch $" - /* * Veritas filesystem driver - support for 'immed' inodes. */ diff --git a/fs/freevxfs/vxfs_inode.c b/fs/freevxfs/vxfs_inode.c index bbaeef8b63d2a..f4b891eb0d7e9 100644 --- a/fs/freevxfs/vxfs_inode.c +++ b/fs/freevxfs/vxfs_inode.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_inode.c,v 1.42 2002/01/02 23:51:36 hch Exp hch $" - /* * Veritas filesystem driver - inode routines. */ diff --git a/fs/freevxfs/vxfs_inode.h b/fs/freevxfs/vxfs_inode.h index e7d2fc114c2c4..240aeb11263fa 100644 --- a/fs/freevxfs/vxfs_inode.h +++ b/fs/freevxfs/vxfs_inode.h @@ -30,8 +30,6 @@ #ifndef _VXFS_INODE_H_ #define _VXFS_INODE_H_ -#ident "$Id: vxfs_inode.h,v 1.15 2001/05/26 22:41:23 hch Exp hch $" - /* * Veritas filesystem driver - inode structure. * diff --git a/fs/freevxfs/vxfs_lookup.c b/fs/freevxfs/vxfs_lookup.c index 9c7f99f7bd01c..506ae251d2c01 100644 --- a/fs/freevxfs/vxfs_lookup.c +++ b/fs/freevxfs/vxfs_lookup.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_lookup.c,v 1.21 2002/01/02 22:00:13 hch Exp hch $" - /* * Veritas filesystem driver - lookup and other directory related code. */ diff --git a/fs/freevxfs/vxfs_olt.c b/fs/freevxfs/vxfs_olt.c index 3f5a3572bdc03..7a204e31aad95 100644 --- a/fs/freevxfs/vxfs_olt.c +++ b/fs/freevxfs/vxfs_olt.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_olt.c,v 1.10 2002/01/02 23:03:58 hch Exp hch $" - /* * Veritas filesystem driver - object location table support. */ diff --git a/fs/freevxfs/vxfs_olt.h b/fs/freevxfs/vxfs_olt.h index e24f949f8bdc9..d8324296486f2 100644 --- a/fs/freevxfs/vxfs_olt.h +++ b/fs/freevxfs/vxfs_olt.h @@ -30,8 +30,6 @@ #ifndef _VXFS_OLT_H_ #define _VXFS_OLT_H_ -#ident "$Id: vxfs_olt.h,v 1.5 2001/04/25 18:11:23 hch Exp hch $" - /* * Veritas filesystem driver - Object Location Table data structures. * diff --git a/fs/freevxfs/vxfs_subr.c b/fs/freevxfs/vxfs_subr.c index 21e926cc8d88a..5e305612054a5 100644 --- a/fs/freevxfs/vxfs_subr.c +++ b/fs/freevxfs/vxfs_subr.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_subr.c,v 1.8 2001/12/28 20:50:47 hch Exp hch $" - /* * Veritas filesystem driver - shared subroutines. */ @@ -51,6 +49,12 @@ struct address_space_operations vxfs_aops = { .sync_page = block_sync_page, }; +inline void +vxfs_put_page(struct page *pp) +{ + kunmap(pp); + page_cache_release(pp); +} /** * vxfs_get_page - read a page into memory. @@ -89,13 +93,6 @@ fail: return ERR_PTR(-EIO); } -__inline__ void -vxfs_put_page(struct page *pp) -{ - kunmap(pp); - page_cache_release(pp); -} - /** * vxfs_bread - read buffer for a give inode,block tuple * @ip: inode diff --git a/fs/freevxfs/vxfs_super.c b/fs/freevxfs/vxfs_super.c index 79de8aa9a5cee..4898033e09034 100644 --- a/fs/freevxfs/vxfs_super.c +++ b/fs/freevxfs/vxfs_super.c @@ -27,8 +27,6 @@ * SUCH DAMAGE. */ -#ident "$Id: vxfs_super.c,v 1.29 2002/01/02 22:02:12 hch Exp hch $" - /* * Veritas filesystem driver - superblock related routines. */ -- 2.53.0