lkml.org 
[lkml]   [2011]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 21/40] UAPI: Fix linux/auto_fs.h inclusion order [ver #3]
    Date
    Fix linux/auto_fs.h inclusion order to make sure that the inclusion of the
    user-specific file happens after the inclusion of the header file that
    provides NAME_MAX.

    To get around this problem, place a marker specifically to indicate the point
    at which the UAPI header should be included in the kernel-specific file. The
    marker will be deleted later.

    Signed-off-by: David Howells <dhowells@redhat.com>
    ---

    include/linux/auto_fs.h | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/include/linux/auto_fs.h b/include/linux/auto_fs.h
    index da64e15..f9ca4e6 100644
    --- a/include/linux/auto_fs.h
    +++ b/include/linux/auto_fs.h
    @@ -23,6 +23,8 @@
    #include <sys/ioctl.h>
    #endif /* __KERNEL__ */

    +// DISINTEGRATE: INCLUDE UAPI HERE
    +
    /* This file describes autofs v3 */
    #define AUTOFS_PROTO_VERSION 3



    \
     
     \ /
      Last update: 2011-07-28 17:55    [W:0.024 / U:0.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site