kthread: don't depend on work queues
[powerpc.git] / include / linux / fcntl.h
index c52a637..40b9326 100644 (file)
@@ -3,6 +3,10 @@
 
 #include <asm/fcntl.h>
 
+/* Cancel a blocking posix lock; internal use only until we expose an
+ * asynchronous lock api to userspace: */
+#define F_CANCELLK     (F_LINUX_SPECIFIC_BASE+5)
+
 #define F_SETLEASE     (F_LINUX_SPECIFIC_BASE+0)
 #define F_GETLEASE     (F_LINUX_SPECIFIC_BASE+1)
 
@@ -29,6 +33,7 @@
 #define AT_SYMLINK_NOFOLLOW    0x100   /* Do not follow symbolic links.  */
 #define AT_REMOVEDIR           0x200   /* Remove directory instead of
                                            unlinking file.  */
+#define AT_SYMLINK_FOLLOW      0x400   /* Follow symbolic links.  */
 
 #ifdef __KERNEL__