|
@@ -1775,7 +1775,7 @@ static int link_path_walk(const char *name, struct nameidata *nd)
|
|
|
struct dentry *parent = nd->path.dentry;
|
|
struct dentry *parent = nd->path.dentry;
|
|
|
nd->flags &= ~LOOKUP_JUMPED;
|
|
nd->flags &= ~LOOKUP_JUMPED;
|
|
|
if (unlikely(parent->d_flags & DCACHE_OP_HASH)) {
|
|
if (unlikely(parent->d_flags & DCACHE_OP_HASH)) {
|
|
|
- struct qstr this = { .hash_len = hash_len, .name = name };
|
|
|
|
|
|
|
+ struct qstr this = { { .hash_len = hash_len }, .name = name };
|
|
|
err = parent->d_op->d_hash(parent, &this);
|
|
err = parent->d_op->d_hash(parent, &this);
|
|
|
if (err < 0)
|
|
if (err < 0)
|
|
|
break;
|
|
break;
|