]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - include/linux/fs.h
vfs: properly and reliably lock f_pos in fdget_pos()
[mirror_ubuntu-hirsute-kernel.git] / include / linux / fs.h
index e0d909d357634bb26a9adfa65ddbcc9bce5364f6..a7c3f6dd57017bd91bd587d1f5c9610b92baa4e7 100644 (file)
@@ -148,8 +148,6 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
 /* File is opened with O_PATH; almost nothing can be done with it */
 #define FMODE_PATH             ((__force fmode_t)0x4000)
 
-/* File needs atomic accesses to f_pos */
-#define FMODE_ATOMIC_POS       ((__force fmode_t)0x8000)
 /* Write access to underlying fs */
 #define FMODE_WRITER           ((__force fmode_t)0x10000)
 /* Has read method(s) */