vfs: make it possible to access the dentry hash/len as one 64-bit entry
[linux-2.6-block.git] / fs / ext2 / namei.c
index dffb8653628574390589d9332491afdbd92b5a1d..f663a67d7bf0b92503d0ff8561d2886d0e2796e3 100644 (file)
@@ -79,7 +79,7 @@ static struct dentry *ext2_lookup(struct inode * dir, struct dentry *dentry, str
 
 struct dentry *ext2_get_parent(struct dentry *child)
 {
-       struct qstr dotdot = {.name = "..", .len = 2};
+       struct qstr dotdot = QSTR_INIT("..", 2);
        unsigned long ino = ext2_inode_by_name(child->d_inode, &dotdot);
        if (!ino)
                return ERR_PTR(-ENOENT);