git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tmpfs: ensure O_LARGEFILE with generic_file_open()
[sfrench/cifs-2.6.git]
/
mm
/
shmem.c
diff --git
a/mm/shmem.c
b/mm/shmem.c
index 57d878b6391d827ba5f4c2a84ddc3cc7b329c6f3..0a7c4a748811d60946894c4b714308a68f614da7 100644
(file)
--- a/
mm/shmem.c
+++ b/
mm/shmem.c
@@
-3902,6
+3902,7
@@
EXPORT_SYMBOL(shmem_aops);
static const struct file_operations shmem_file_operations = {
.mmap = shmem_mmap,
+ .open = generic_file_open,
.get_unmapped_area = shmem_get_unmapped_area,
#ifdef CONFIG_TMPFS
.llseek = shmem_file_llseek,