X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre%2Fll_fiemap.h;h=93a5ff41c6f0cd04833764a5f469d872e611847e;hb=4997a629a7ccfbd22fca2953cc0643059cbecb95;hp=9b751a8ebbbe9e1d79dd6142fb52fde63745cff7;hpb=95dbd166988cf0a2912c51305572c78a9aa2d324;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre/ll_fiemap.h b/lustre/include/lustre/ll_fiemap.h index 9b751a8..93a5ff4 100644 --- a/lustre/include/lustre/ll_fiemap.h +++ b/lustre/include/lustre/ll_fiemap.h @@ -1,6 +1,4 @@ -/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*- - * vim:expandtab:shiftwidth=8:tabstop=8: - * +/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -26,7 +24,7 @@ * GPL HEADER END */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved + * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. * Use is subject to license terms. */ /* @@ -47,6 +45,10 @@ #if !defined(HAVE_LINUX_FIEMAP_H) || !defined(__KERNEL__) +#ifndef __KERNEL__ +#include +#endif + struct ll_fiemap_extent { __u64 fe_logical; /* logical offset in bytes for the start of * the extent from the beginning of the file */