Magellan Linux

Contents of /trunk/shfs/patches/shfs-0.35-gcc4-compilefix.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 1165 byte(s)
-import

1 Only in shfs-0.35/shfs/Linux-2.6: .dir.o.d
2 Only in shfs-0.35-new/shfs/Linux-2.6/.tmp_versions: shfs.mod
3 diff -ur shfs-0.35/shfs/Linux-2.6/dir.c shfs-0.35-new/shfs/Linux-2.6/dir.c
4 --- shfs-0.35/shfs/Linux-2.6/dir.c 2004-06-01 09:16:19.000000000 -0400
5 +++ shfs-0.35-new/shfs/Linux-2.6/dir.c 2005-02-11 18:12:00.000000000 -0500
6 @@ -19,6 +19,8 @@
7 #include "shfs_debug.h"
8 #include "proc.h"
9
10 +static struct dentry_operations shfs_dentry_operations;
11 +
12 static int
13 shfs_dir_open(struct inode *inode, struct file *filp)
14 {
15 diff -ur shfs-0.35/shfs/Linux-2.6/shfs_fs.h shfs-0.35-new/shfs/Linux-2.6/shfs_fs.h
16 --- shfs-0.35/shfs/Linux-2.6/shfs_fs.h 2004-06-01 09:16:19.000000000 -0400
17 +++ shfs-0.35-new/shfs/Linux-2.6/shfs_fs.h 2005-02-11 18:12:03.000000000 -0500
18 @@ -50,7 +50,6 @@
19 #define ROUND_TO_MINS(x) do { (x).tv_sec = ((x).tv_sec / 60) * 60; (x).tv_nsec = 0; } while (0)
20
21 /* shfs/dir.c */
22 -extern struct dentry_operations shfs_dentry_operations;
23 extern struct file_operations shfs_dir_operations;
24 extern struct inode_operations shfs_dir_inode_operations;
25 extern void shfs_new_dentry(struct dentry *dentry);
26 Only in shfs-0.35-new/shfs/Linux-2.6: shfs_fs.h.orig