projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tun: return proper error code from tun_do_read
[cascardo/linux.git]
/
mm
/
madvise.c
diff --git
a/mm/madvise.c
b/mm/madvise.c
index
0938b30
..
a271adc
100644
(file)
--- a/
mm/madvise.c
+++ b/
mm/madvise.c
@@
-326,7
+326,7
@@
static long madvise_remove(struct vm_area_struct *vma,
*/
get_file(f);
up_read(¤t->mm->mmap_sem);
- error =
do
_fallocate(f,
+ error =
vfs
_fallocate(f,
FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE,
offset, end - start);
fput(f);