Re: [vserver] Kernel compile warnings

From: Ghislain Adnet <gadnet_at_aqueos.com>
Date: Fri 29 Dec 2017 - 09:13:19 GMT
Message-ID: <4fe7fd28-02d8-478d-8153-8dfd1989ad47@aqueos.com>

proc_xid_iterate is called only in proc_xid_file_operations

find /vservers/kernel/linux-4.1.48/ -type f -exec grep -H proc_xid_iterate {} \;
/vservers/kernel/linux-4.1.48/kernel/vserver/proc.c:static int proc_xid_iterate(struct file *filp, struct dir_context *ctx)

/vservers/kernel/linux-4.1.48/kernel/vserver/proc.c-static struct file_operations proc_xid_file_operations = {
/vservers/kernel/linux-4.1.48/kernel/vserver/proc.c- .read = generic_read_dir,
/vservers/kernel/linux-4.1.48/kernel/vserver/proc.c: .iterate = proc_xid_iterate,

but

seems the function proc_xid_file_operations is not called anywhere:

find /vservers/kernel/linux-4.1.48 -type f -exec grep -H proc_xid_file_operations {} \;

/vservers/kernel/linux-4.1.48/patch-4.1.48-vs2.3.8.6.diff:+static struct file_operations proc_xid_file_operations = {
/vservers/kernel/linux-4.1.48/kernel/vserver/proc.c:static struct file_operations proc_xid_file_operations = {

so perhaps its legacy code not used anywhere ?

regards,
Ghislain.
Received on Fri Dec 29 09:11:29 2017

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 29 Dec 2017 - 09:11:29 GMT by hypermail 2.1.8