Re: error: redefinition of 'struct btrfs_ioctl_defrag_range_args

2018-04-16 Thread Ilan Schwarts
03-92.53-default >> I recieve the following warning: error: redefinition of 'struct >> btrfs_ioctl_defrag_range_args >> I see that struct is defined in 2 places: >> /lib/modules/4.4.103-92.53-default/source/fs/btrfs/ctree.h:1985:8 >> /usr/src/linux-4.4.103-92.53/include/

Re: error: redefinition of 'struct btrfs_ioctl_defrag_range_args

2018-04-12 Thread David Sterba
On Wed, Apr 11, 2018 at 01:22:23PM +0300, Ilan Schwarts wrote: > Hi > While trying to compile my kernel module on suse 12.2 kernel > 4.4.103-92.53-default > I recieve the following warning: error: redefinition of 'struct > btrfs_ioctl_defrag_range_args > I see that struct

error: redefinition of 'struct btrfs_ioctl_defrag_range_args

2018-04-11 Thread Ilan Schwarts
Hi While trying to compile my kernel module on suse 12.2 kernel 4.4.103-92.53-default I recieve the following warning: error: redefinition of 'struct btrfs_ioctl_defrag_range_args I see that struct is defined in 2 places: /lib/modules/4.4.103-92.53-default/source/fs/btrfs/ctree.h:1985:8 /us