45 lines
1.9 KiB
Diff
45 lines
1.9 KiB
Diff
Submitted By: Mario Fetka (mario-fetka at gmx dot at)
|
|
Date: 2007-09-30
|
|
Initial Package Version: 2.0.0
|
|
Origin: me
|
|
Upstream Status: unknown
|
|
Description:
|
|
Fix section warning:
|
|
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.text+0xa5a5): Section mismatch: reference to .init.text:init_novfs (between '__cyg_profile_func_enter' and 'profile_task_exit_callback')
|
|
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.data+0x7fc): Section mismatch: reference to .init.text:init_novfs (between 'SymbolTable' and 'Malloc_Lock')
|
|
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.text+0xa511): Section mismatch: reference to .exit.text:exit_novfs (between '__cyg_profile_func_exit' and '__cyg_profile_func_enter')
|
|
WARNING: /var/tmp/portage/net-fs/novell-novfs-2.0.0_p22/work/novfs-2.0.0/src/novfs.o(.data+0x6b4): Section mismatch: reference to .exit.text:exit_novfs (between 'SymbolTable' and 'Malloc_Lock')
|
|
|
|
diff -Naur novfs-2.0.0.orig/src/inode.c novfs-2.0.0/src/inode.c
|
|
--- novfs-2.0.0.orig/src/inode.c 2007-08-09 10:56:06.000000000 +0000
|
|
+++ novfs-2.0.0/src/inode.c 2007-09-30 10:55:45.000000000 +0000
|
|
@@ -271,8 +271,8 @@
|
|
|
|
int Novfs_Control_ioctl(struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg);
|
|
|
|
-int __init init_novfs(void);
|
|
-void __exit exit_novfs(void);
|
|
+int __devinit init_novfs(void);
|
|
+void __devexit exit_novfs(void);
|
|
|
|
int Novfs_lock_inode_cache( struct inode *i );
|
|
void Novfs_unlock_inode_cache( struct inode *i );
|
|
@@ -4898,7 +4898,7 @@
|
|
}
|
|
|
|
/*++======================================================================*/
|
|
-int __init init_novfs (void)
|
|
+int __devinit init_novfs (void)
|
|
/*
|
|
* Arguments:
|
|
*
|
|
@@ -4941,7 +4941,7 @@
|
|
}
|
|
|
|
/*++======================================================================*/
|
|
-void __exit exit_novfs(void)
|
|
+void __devexit exit_novfs(void)
|
|
/*
|
|
* Arguments:
|
|
*
|