From: Tobias Poschwatta Date: Thu, 29 Nov 2007 00:21:45 +0000 (-0800) Subject: fix up ext2_fs.h for userspace after reservations backport X-Git-Tag: v2.6.24-rc4~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6454d1f9038f708d7deef6270ed4ba5bb6e55869;p=pandora-kernel.git fix up ext2_fs.h for userspace after reservations backport In commit a686cd898bd999fd026a51e90fb0a3410d258ddb: "Val's cross-port of the ext3 reservations code into ext2." include/linux/ext2_fs.h got a new function whose return value is only defined if __KERNEL__ is defined. Putting #ifdef __KERNEL__ around the function seems to help, patch below. Signed-off-by: Eric Sandeen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed