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

Yan Zheng yanzheng at 21cn.com
Wed Jan 23 23:29:20 PST 2008


2008/1/24, Noah Meyerhans <frodo at morgul.net>:
> 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.
>
It has already been fixed in

http://oss.oracle.com/mercurial/mason/btrfs-unstable/rev/9bed58812334

Thanks
YZ



More information about the Btrfs-devel mailing list