]> git.baikalelectronics.ru Git - kernel.git/commit
fs/afs: use new return type vm_fault_t
authorSouptick Joarder <jrdr.linux@gmail.com>
Fri, 24 Aug 2018 00:00:48 +0000 (17:00 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Aug 2018 01:48:43 +0000 (18:48 -0700)
commite47f0be4f3ddae195f3b4d9ca706e26d918a742f
tree82cbd6b1ea09c75c75df586e9908800d2cabd892
parentef8ca3390f46cffb31f49e0c5dbc20ec9fd7837c
fs/afs: use new return type vm_fault_t

Use new return type vm_fault_t for fault handler in struct
vm_operations_struct.  For now, this is just documenting that the
function returns a VM_FAULT value rather than an errno.  Once all
instances are converted, vm_fault_t will become a distinct type.

See cbb1cb712168 ("mm: change return type to vm_fault_t") for reference.

Link: http://lkml.kernel.org/r/20180702152017.GA3780@jordon-HP-15-Notebook-PC
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/internal.h
fs/afs/write.c