[Btrfs-devel] Re: [PATCH 1/1] Fix incompatible pointer

Chris Mason chris.mason at oracle.com
Fri Sep 14 06:38:31 PDT 2007


On Fri, 14 Sep 2007 09:28:23 +0200 (CEST)
Jan Engelhardt <jengelh at computergmbh.de> wrote:

> 
> On Sep 14 2007 09:27, Jan Engelhardt wrote:
> >
> >/usr/src/packages/BUILD/btrfs-0.8/obj-desktop/file.c:
> >In function 'btrfs_file_write':
> >/usr/src/packages/BUILD/btrfs-0.8/obj-desktop/file.c:586:
> >warning: passing argument 1 of 'remove_suid' from incompatible
> >pointer type
> >  LD [M]  /usr/src/packages/BUILD/btrfs-0.8/obj-desktop/btrfs.o
> 
> >-	err = remove_suid(file->f_path.dentry);
> >+	err = remove_suid(&file->f_path);
> 
> For 2.6.22 that is...

This isn't against mainline, Jan indicated novell apparmour needs the
change.  Sorry, I won't be taking it ;)

-chris



More information about the Btrfs-devel mailing list