]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/uapi/linux/auto_fs4.h
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / include / uapi / linux / auto_fs4.h
index e02982fa2953140719acc5968eed26e8f2058b8c..8f8f1bdcca8c07c8b237daf71525768d4685fc0f 100644 (file)
@@ -1,6 +1,4 @@
-/* -*- c -*-
- * linux/include/linux/auto_fs4.h
- *
+/*
  * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
  *
  * This file is part of the Linux kernel and is made available under
@@ -38,7 +36,6 @@
 static inline void set_autofs_type_indirect(unsigned int *type)
 {
        *type = AUTOFS_TYPE_INDIRECT;
-       return;
 }
 
 static inline unsigned int autofs_type_indirect(unsigned int type)
@@ -49,7 +46,6 @@ static inline unsigned int autofs_type_indirect(unsigned int type)
 static inline void set_autofs_type_direct(unsigned int *type)
 {
        *type = AUTOFS_TYPE_DIRECT;
-       return;
 }
 
 static inline unsigned int autofs_type_direct(unsigned int type)
@@ -60,7 +56,6 @@ static inline unsigned int autofs_type_direct(unsigned int type)
 static inline void set_autofs_type_offset(unsigned int *type)
 {
        *type = AUTOFS_TYPE_OFFSET;
-       return;
 }
 
 static inline unsigned int autofs_type_offset(unsigned int type)
@@ -81,7 +76,6 @@ static inline unsigned int autofs_type_trigger(unsigned int type)
 static inline void set_autofs_type_any(unsigned int *type)
 {
        *type = AUTOFS_TYPE_ANY;
-       return;
 }
 
 static inline unsigned int autofs_type_any(unsigned int type)
@@ -114,7 +108,7 @@ enum autofs_notify {
 /* v4 multi expire (via pipe) */
 struct autofs_packet_expire_multi {
        struct autofs_packet_hdr hdr;
-        autofs_wqt_t wait_queue_token;
+       autofs_wqt_t wait_queue_token;
        int len;
        char name[NAME_MAX+1];
 };
@@ -154,11 +148,10 @@ union autofs_v5_packet_union {
        autofs_packet_expire_direct_t expire_direct;
 };
 
-#define AUTOFS_IOC_EXPIRE_MULTI                _IOW(0x93,0x66,int)
+#define AUTOFS_IOC_EXPIRE_MULTI                _IOW(0x93, 0x66, int)
 #define AUTOFS_IOC_EXPIRE_INDIRECT     AUTOFS_IOC_EXPIRE_MULTI
 #define AUTOFS_IOC_EXPIRE_DIRECT       AUTOFS_IOC_EXPIRE_MULTI
-#define AUTOFS_IOC_PROTOSUBVER         _IOR(0x93,0x67,int)
-#define AUTOFS_IOC_ASKUMOUNT           _IOR(0x93,0x70,int)
-
+#define AUTOFS_IOC_PROTOSUBVER         _IOR(0x93, 0x67, int)
+#define AUTOFS_IOC_ASKUMOUNT           _IOR(0x93, 0x70, int)
 
 #endif /* _LINUX_AUTO_FS4_H */