VFS: Allow caller to determine if BSD or posix locks were actually freed
[firefly-linux-kernel-4.4.55.git] / include / linux / fs.h
index 134b320682467fa84045e8cb7e8c68d2f20a7108..43aef9b230fdea43852a88a7d211372a0ea4e897 100644 (file)
@@ -716,6 +716,7 @@ extern spinlock_t files_lock;
 #define FL_POSIX       1
 #define FL_FLOCK       2
 #define FL_ACCESS      8       /* not trying to lock, just looking */
+#define FL_EXISTS      16      /* when unlocking, test for existence */
 #define FL_LEASE       32      /* lease held on this file */
 #define FL_CLOSE       64      /* unlock on close */
 #define FL_SLEEP       128     /* A blocking lock */