]> git.proxmox.com Git - zfsonlinux.git/blame - spl-patches/0010-Fix-function-name-typos.patch
update SPL to 0.7.7
[zfsonlinux.git] / spl-patches / 0010-Fix-function-name-typos.patch
CommitLineData
edf5051c
FG
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
3Date: Mon, 19 Feb 2018 20:40:38 +0900
4Subject: [PATCH] Fix function name typos
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9vn_init() and vn_fini() had been renamed by 12ff95ff in 2011.
10
11Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
12Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
13Closes #686
14(cherry picked from commit cfbcc0d4d74ea3ad279706b63e7a13290d3e130a)
15Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
16---
17 module/spl/spl-vnode.c | 6 +++---
18 1 file changed, 3 insertions(+), 3 deletions(-)
19
20diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c
21index 75d8936..23008af 100644
22--- a/module/spl/spl-vnode.c
23+++ b/module/spl/spl-vnode.c
24@@ -658,7 +658,7 @@ vn_file_cache_constructor(void *buf, void *cdrarg, int kmflags)
25 INIT_LIST_HEAD(&fp->f_list);
26
27 return (0);
28-} /* file_cache_constructor() */
29+} /* vn_file_cache_constructor() */
30
31 static void
32 vn_file_cache_destructor(void *buf, void *cdrarg)
33@@ -680,7 +680,7 @@ spl_vn_init(void)
34 vn_file_cache_destructor, NULL, NULL, NULL, 0);
35
36 return (0);
37-} /* vn_init() */
38+} /* spl_vn_init() */
39
40 void
41 spl_vn_fini(void)
42@@ -703,4 +703,4 @@ spl_vn_fini(void)
43
44 kmem_cache_destroy(vn_file_cache);
45 kmem_cache_destroy(vn_cache);
46-} /* vn_fini() */
47+} /* spl_vn_fini() */
48--
492.14.2
50