projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shmem: fix tmpfs to handle the huge= option properly
[cascardo/linux.git]
/
mm
/
shmem.c
diff --git
a/mm/shmem.c
b/mm/shmem.c
index
fd8b2b5
..
aec5b49
100644
(file)
--- a/
mm/shmem.c
+++ b/
mm/shmem.c
@@
-1980,7
+1980,7
@@
unsigned long shmem_get_unmapped_area(struct file *file,
return addr;
sb = shm_mnt->mnt_sb;
}
- if (SHMEM_SB(sb)->huge
!
= SHMEM_HUGE_NEVER)
+ if (SHMEM_SB(sb)->huge
=
= SHMEM_HUGE_NEVER)
return addr;
}