git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
LINUX: Define zero_user_segment
[openafs.git]
/
src
/
afs
/
LINUX
/
osi_compat.h
diff --git
a/src/afs/LINUX/osi_compat.h
b/src/afs/LINUX/osi_compat.h
index
2ffef0f
..
511b882
100644
(file)
--- a/
src/afs/LINUX/osi_compat.h
+++ b/
src/afs/LINUX/osi_compat.h
@@
-233,6
+233,12
@@
zero_user_segments(struct page *pp, unsigned int from1, unsigned int to1,
flush_dcache_page(pp);
kunmap_atomic(base, KM_USER0);
}
+
+static inline void
+zero_user_segment(struct page *pp, unsigned int from1, unsigned int to1)
+{
+ zero_user_segments(pp, from1, to1, 0, 0);
+}
#endif
#ifndef HAVE_LINUX_KERNEL_SETSOCKOPT