Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-5220 llite: fix a flag bug of vvp_io_kernel_fault()
[fs/lustre-release.git]
/
lustre
/
llite
/
vvp_io.c
diff --git
a/lustre/llite/vvp_io.c
b/lustre/llite/vvp_io.c
index
47e59ff
..
8186e41
100644
(file)
--- a/
lustre/llite/vvp_io.c
+++ b/
lustre/llite/vvp_io.c
@@
-853,7
+853,7
@@
static int vvp_io_kernel_fault(struct vvp_fault_io *cfio)
vmf->virtual_address);
if (unlikely(!(cfio->fault.ft_flags & VM_FAULT_LOCKED))) {
lock_page(vmf->page);
-
cfio->fault.ft_flags &
= VM_FAULT_LOCKED;
+
cfio->fault.ft_flags |
= VM_FAULT_LOCKED;
}
cfio->ft_vmpage = vmf->page;