asm-generic: fcntl: make exported headers use strict posix types
authorLucian Adrian Grijincu <lucian.grijincu@gmail.com>
Wed, 6 Oct 2010 22:03:47 +0000 (15:03 -0700)
committerArnd Bergmann <arnd@arndb.de>
Sat, 9 Oct 2010 19:51:43 +0000 (21:51 +0200)
All 'pid_t' were changed to '__kernel_pid_t' in a previous commit:
make exported headers use strict posix types

    A number of standard posix types are used in exported headers,
    which is not allowed if __STRICT_KERNEL_NAMES is defined. In order
    to get rid of the non-__STRICT_KERNEL_NAMES part and to make sane
    headers the default, we have to change them all to safe types.

but a later change introduced 'pid_t' again:
    fcntl: add F_[SG]ETOWN_EX

This makes asm-generic/fcntl.h d use strict posix types again.

Signed-off-by: Lucian Adrian Grijincu <lucian.grijincu@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/fcntl.h

index a70b2d2bfc14f70940d08bcaef7fac4e185308c9..0fc16e3f0bfcc01e0f4e9016f82b0b5387d5317a 100644 (file)
 
 struct f_owner_ex {
        int     type;
-       pid_t   pid;
+       __kernel_pid_t  pid;
 };
 
 /* for F_[GET|SET]FL */