]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit6454d1f9038f708d7deef6270ed4ba5bb6e55869
tree447fc22433ed8f16af01353bc93abffc73bc6ddd
parent68576cf122bc5195c758ed295e78b5858472378a
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 <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