]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/ufs/super.c
vfs: make it possible to access the dentry hash/len as one 64-bit entry
[karo-tx-linux.git] / fs / ufs / super.c
index ac8e279eccc668dcf1f6cd55c942569b9830e560..302f340d0071280adaef9366b98280b18e5dd32a 100644 (file)
@@ -146,10 +146,7 @@ static struct dentry *ufs_fh_to_parent(struct super_block *sb, struct fid *fid,
 
 static struct dentry *ufs_get_parent(struct dentry *child)
 {
-       struct qstr dot_dot = {
-               .name   = "..",
-               .len    = 2,
-       };
+       struct qstr dot_dot = QSTR_INIT("..", 2);
        ino_t ino;
 
        ino = ufs_inode_by_name(child->d_inode, &dot_dot);