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
2008/1/24, Noah Meyerhans <frodo@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