]> git.baikalelectronics.ru Git - kernel.git/commit
fix up ext2_fs.h for userspace after reservations backport
authorTobias Poschwatta <tp@fonz.de>
Thu, 29 Nov 2007 00:21:45 +0000 (16:21 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 29 Nov 2007 17:24:53 +0000 (09:24 -0800)
commit45014710e60f79923cbdbde5eb1e3c20afc41668
tree447fc22433ed8f16af01353bc93abffc73bc6ddd
parentc95653cd8ca8e033f51fe58edd82a1734a36dc89
fix up ext2_fs.h for userspace after reservations backport

In commit 974c6dd9c06c199ab1d3ee7844ec91e8552e8c5a:

 "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 <sandeen@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext2/ext2.h
include/linux/ext2_fs.h