projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
124049d
)
include/linux/dax.h: dax_iomap_fault() returns vm_fault_t
author
Souptick Joarder
<
[email protected]
>
Thu, 28 Jun 2018 06:26:17 +0000
(23:26 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 28 Jun 2018 18:16:44 +0000
(11:16 -0700)
Commit
1c8f422059ae
("mm: change return type to vm_fault_t") missed a
conversion. It's not a big problem at present because mainline is still
using
typedef int vm_fault_t;
Fixes: 1c8f422059ae ("mm: change return type to vm_fault_t")
Link:
http://lkml.kernel.org/r/20180620172046.GA27894@jordon-HP-15-Notebook-PC
Signed-off-by: Souptick Joarder <
[email protected]
>
Reviewed-by: Andrew Morton <
[email protected]
>
Cc: Matthew Wilcox <
[email protected]
>
Cc: Dan Williams <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/dax.h
patch
|
blob
|
history
diff --git
a/include/linux/dax.h
b/include/linux/dax.h
index 3855e3800f483e07cc4c16e68f6a1f2780de1b3e..deb0f663252fc55e39546c7d3107e96dfb3f03ae 100644
(file)
--- a/
include/linux/dax.h
+++ b/
include/linux/dax.h
@@
-135,7
+135,7
@@
void dax_flush(struct dax_device *dax_dev, void *addr, size_t size);
ssize_t dax_iomap_rw(struct kiocb *iocb, struct iov_iter *iter,
const struct iomap_ops *ops);
-
in
t dax_iomap_fault(struct vm_fault *vmf, enum page_entry_size pe_size,
+
vm_fault_
t dax_iomap_fault(struct vm_fault *vmf, enum page_entry_size pe_size,
pfn_t *pfnp, int *errp, const struct iomap_ops *ops);
vm_fault_t dax_finish_sync_fault(struct vm_fault *vmf,
enum page_entry_size pe_size, pfn_t pfn);