From 2ceb1bd829e41aad234b847a15ccc741287c5b2a Mon Sep 17 00:00:00 2001 From: Mister Oyster Date: Thu, 30 Mar 2017 17:15:30 +0200 Subject: Revert "sdcardfs: Flag files as non-mappable" This reverts commit b6a5e4ec2f6e2cabf5630fefcfc942992e3a028f. --- include/linux/fs.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') diff --git a/include/linux/fs.h b/include/linux/fs.h index 3b0a8ab85..fe4570d62 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -122,9 +122,6 @@ typedef void (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 hasn't page cache and can't be mmaped, for stackable filesystem */ -#define FMODE_NONMAPPABLE ((__force fmode_t)0x400000) - /* File was opened by fanotify and shouldn't generate fanotify events */ #define FMODE_NONOTIFY ((__force fmode_t)0x1000000) @@ -1560,7 +1557,6 @@ struct file_operations { long (*fallocate)(struct file *file, int mode, loff_t offset, loff_t len); int (*show_fdinfo)(struct seq_file *m, struct file *f); - struct file* (*get_lower_file)(struct file *f); }; struct inode_operations { -- cgit v1.2.3