summaryrefslogtreecommitdiffstats
path: root/module/spl/spl-vnode.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/spl/spl-vnode.c')
-rw-r--r--module/spl/spl-vnode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/spl/spl-vnode.c b/module/spl/spl-vnode.c
index 9bfead8cf..dd759bf7f 100644
--- a/module/spl/spl-vnode.c
+++ b/module/spl/spl-vnode.c
@@ -257,7 +257,8 @@ EXPORT_SYMBOL(vn_seek);
static struct dentry *
vn_lookup_hash(struct nameidata *nd)
{
- return lookup_one_len(nd->last.name, nd->nd_dentry, nd->last.len);
+ return lookup_one_len((const char *)nd->last.name,
+ nd->nd_dentry, nd->last.len);
} /* lookup_hash() */
static void