aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-03-30 17:15:30 +0200
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:32:20 +0200
commit2ceb1bd829e41aad234b847a15ccc741287c5b2a (patch)
treeb7ae847fc8f99a75842a7b8b854cf4744901616d /include
parent033b9530c4ac015e7a4ca23527410d2c00c6bd94 (diff)
Revert "sdcardfs: Flag files as non-mappable"
This reverts commit b6a5e4ec2f6e2cabf5630fefcfc942992e3a028f.
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h4
1 files changed, 0 insertions, 4 deletions
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 {