summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/spl/spl-vnode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c
index 1af9b2998..c46643175 100644
--- a/module/spl/spl-vnode.c
+++ b/module/spl/spl-vnode.c
@@ -316,7 +316,7 @@ vn_remove(const char *path, uio_seg_t seg, int flags)
ASSERT(seg == UIO_SYSSPACE);
ASSERT(flags == RMFILE);
- rc = path_lookup(path, LOOKUP_PARENT, &nd);
+ rc = spl_kern_path_parent(path, &nd);
if (rc)
SGOTO(exit, rc);
@@ -370,11 +370,11 @@ vn_rename(const char *oldname, const char *newname, int x1)
int rc = 0;
SENTRY;
- rc = path_lookup(oldname, LOOKUP_PARENT, &oldnd);
+ rc = spl_kern_path_parent(oldname, &oldnd);
if (rc)
SGOTO(exit, rc);
- rc = path_lookup(newname, LOOKUP_PARENT, &newnd);
+ rc = spl_kern_path_parent(newname, &newnd);
if (rc)
SGOTO(exit1, rc);