diff options
author | Matthew Wilcox <willy@infradead.org> | 2018-10-27 00:04:33 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-10-27 01:25:20 +0200 |
commit | 6d958546ff611c9ae09b181e628c1c5d5da5ebda (patch) | |
tree | c687cae1ee84aa277079bc7ee924069f191123af /fs/reiserfs | |
parent | mm: remove vm_insert_pfn() (diff) | |
download | linux-6d958546ff611c9ae09b181e628c1c5d5da5ebda.tar.xz linux-6d958546ff611c9ae09b181e628c1c5d5da5ebda.zip |
mm: inline vm_insert_pfn_prot() into caller
vm_insert_pfn_prot() is only called from vmf_insert_pfn_prot(), so inline
it and convert some of the errnos into vm_fault codes earlier.
Link: http://lkml.kernel.org/r/20180828145728.11873-9-willy@infradead.org
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Nicolas Pitre <nicolas.pitre@linaro.org>
Cc: Souptick Joarder <jrdr.linux@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs')
0 files changed, 0 insertions, 0 deletions