vfs: make it possible to access the dentry hash/len as one 64-bit entry
[linux-2.6-block.git] / fs / nfs / dir.c
index 8789210c6905a666c86612d9ac080f567ddbd89f..eedd24d0ad2efc6a02e7ff7b552e2e707adadfbd 100644 (file)
@@ -477,10 +477,7 @@ different:
 static
 void nfs_prime_dcache(struct dentry *parent, struct nfs_entry *entry)
 {
-       struct qstr filename = {
-               .len = entry->len,
-               .name = entry->name,
-       };
+       struct qstr filename = QSTR_INIT(entry->name, entry->len);
        struct dentry *dentry;
        struct dentry *alias;
        struct inode *dir = parent->d_inode;