[Btrfs-devel] missing #include in acl.c ?

Noah Meyerhans frodo at morgul.net
Wed Jan 23 21:34:24 PST 2008


Hi all.  I just subscribed to this list, so I apologize if this has
already been addressed.  In order to build btrfs 0.11 against linux
2.6.23 as supplied by Debian unstable (linux-headers-2.6.23-1-486), I
needed to add #include <linux/sched.h> to acl.c.  Without this, the
task_struct "current", as used in the is_owner_or_cap macro has an
incomplete definition and compilation fails.

noah

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://oss.oracle.com/pipermail/btrfs-devel/attachments/20080124/62a4af71/attachment.bin


More information about the Btrfs-devel mailing list