SOURCES: shfs-2.6.19.patch - one more
zbyniu
zbyniu at pld-linux.org
Mon Apr 14 02:20:37 CEST 2008
Author: zbyniu Date: Mon Apr 14 00:20:37 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- one more
---- Files affected:
SOURCES:
shfs-2.6.19.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/shfs-2.6.19.patch
diff -u SOURCES/shfs-2.6.19.patch:1.2 SOURCES/shfs-2.6.19.patch:1.3
--- SOURCES/shfs-2.6.19.patch:1.2 Mon Apr 14 02:11:03 2008
+++ SOURCES/shfs-2.6.19.patch Mon Apr 14 02:20:31 2008
@@ -405,3 +405,29 @@
/* shfs/inode.c */
void shfs_set_inode_attr(struct inode *inode, struct shfs_fattr *fattr);
+--- shfs-0.35/shfs/Linux-2.6/symlink.c~ 2004-06-01 15:16:19.000000000 +0200
++++ shfs-0.35/shfs/Linux-2.6/symlink.c 2008-04-14 02:13:03.760584134 +0200
+@@ -41,7 +41,11 @@ error:
+ return result;
+ }
+
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
+ static int
++#else
++static void *
++#endif
+ shfs_follow_link(struct dentry *dentry, struct nameidata *nd)
+ {
+ struct shfs_sb_info *info = info_from_dentry(dentry);
+@@ -61,7 +65,11 @@ shfs_follow_link(struct dentry *dentry,
+ DEBUG("%s\n", real_name);
+ result = vfs_follow_link(nd, real_name);
+ error:
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
+ return result;
++#else
++ return NULL;
++#endif
+ }
+
+ struct inode_operations shfs_symlink_inode_operations = {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/shfs-2.6.19.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list