Re: Kernel 3.19
On Thu, 5 Mar 2015 15:36:58 +0000
"bmax@gmx.it" <bmax@gmx.it> wrote:
I reply to myself...
from /usr/src/linux-3.19/Documentation/filesystems/porting
"f_dentry is gone; use f_path.dentry, or, better yet, see if you can avoid
it entirely."
Cloop now compile with errors, the module load without errors:
/usr/src/cloop-exp/cloop.c: In function ‘cloop_set_file’:
/usr/src/cloop-exp/cloop.c:426:8: warning: assignment from incompatible pointer type
inode = file->f_path.dentry;
^
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/cloop-exp/cloop.mod.o
LD [M] /usr/src/cloop-exp/cloop.ko
__________________________________________________________________________
> Hi Klaus,
>
> it seems that cloop has a problem with kernel 3.19, here's the log:
>
>
> make[1]: Entering directory '/usr/src/linux-3.19'
> CC [M] /usr/src/cloop/cloop.o
> /usr/src/cloop/cloop.c: In function ‘cloop_set_file’:
> /usr/src/cloop/cloop.c:426:14: error: ‘struct file’ has no member named ‘f_dentry’
> inode = file->f_dentry->d_inode;
> ^
> scripts/Makefile.build:263: recipe for target '/usr/src/cloop-2.639/cloop.o' failed
> make[2]: *** [/usr/src/cloop-2.639/cloop.o] Error 1
> Makefile:1382: recipe for target '_module_/usr/src/cloop-2.639' failed
> make[1]: *** [_module_/usr/src/cloop-2.639] Error 2
> make[1]: Leaving directory '/usr/src/linux-3.19'
> Makefile:46: recipe for target 'cloop.ko' failed
--
Sylpheed version 3.5.0beta1 on Debian Linux 3.19.0-pae
Thursday 05 March 2015 ore 16:03
Reply to: