Commit 40876b4b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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
parent e7966cf3
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#ifndef _VXFS_SUPER_H_ #ifndef _VXFS_SUPER_H_
#define _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. * Veritas filesystem driver - superblock structure.
* *
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * 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. * Veritas filesystem driver - filesystem to disk block mapping.
*/ */
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#ifndef _VXFS_DIR_H_ #ifndef _VXFS_DIR_H_
#define _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. * Veritas filesystem driver - directory structure.
* *
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#ifndef _VXFS_EXTERN_H_ #ifndef _VXFS_EXTERN_H_
#define _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. * Veritas filesystem driver - external prototypes.
* *
...@@ -72,7 +70,7 @@ extern int vxfs_read_olt(struct super_block *, u_long); ...@@ -72,7 +70,7 @@ extern int vxfs_read_olt(struct super_block *, u_long);
/* vxfs_subr.c */ /* vxfs_subr.c */
extern struct page * vxfs_get_page(struct address_space *, u_long); 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); extern struct buffer_head * vxfs_bread(struct inode *, int);
#endif /* _VXFS_EXTERN_H_ */ #endif /* _VXFS_EXTERN_H_ */
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * 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. * Veritas filesystem driver - fileset header routines.
*/ */
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#ifndef _VXFS_FSHEAD_H_ #ifndef _VXFS_FSHEAD_H_
#define _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. * Veritas filesystem driver - fileset header structures.
* *
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * 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. * Veritas filesystem driver - support for 'immed' inodes.
*/ */
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ident "$Id: vxfs_inode.c,v 1.42 2002/01/02 23:51:36 hch Exp hch $"
/* /*
* Veritas filesystem driver - inode routines. * Veritas filesystem driver - inode routines.
*/ */
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#ifndef _VXFS_INODE_H_ #ifndef _VXFS_INODE_H_
#define _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. * Veritas filesystem driver - inode structure.
* *
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * 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. * Veritas filesystem driver - lookup and other directory related code.
*/ */
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * 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. * Veritas filesystem driver - object location table support.
*/ */
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#ifndef _VXFS_OLT_H_ #ifndef _VXFS_OLT_H_
#define _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. * Veritas filesystem driver - Object Location Table data structures.
* *
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * SUCH DAMAGE.
*/ */
#ident "$Id: vxfs_subr.c,v 1.8 2001/12/28 20:50:47 hch Exp hch $"
/* /*
* Veritas filesystem driver - shared subroutines. * Veritas filesystem driver - shared subroutines.
*/ */
...@@ -51,6 +49,12 @@ struct address_space_operations vxfs_aops = { ...@@ -51,6 +49,12 @@ struct address_space_operations vxfs_aops = {
.sync_page = block_sync_page, .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. * vxfs_get_page - read a page into memory.
...@@ -89,13 +93,6 @@ vxfs_get_page(struct address_space *mapping, u_long n) ...@@ -89,13 +93,6 @@ vxfs_get_page(struct address_space *mapping, u_long n)
return ERR_PTR(-EIO); 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 * vxfs_bread - read buffer for a give inode,block tuple
* @ip: inode * @ip: inode
......
...@@ -27,8 +27,6 @@ ...@@ -27,8 +27,6 @@
* SUCH DAMAGE. * 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. * Veritas filesystem driver - superblock related routines.
*/ */
......
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