aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/namei.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nilfs2/namei.c')
-rw-r--r--fs/nilfs2/namei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/namei.c b/fs/nilfs2/namei.c
index fce2bbee66d4..0bb2c2010b95 100644
--- a/fs/nilfs2/namei.c
+++ b/fs/nilfs2/namei.c
@@ -441,7 +441,7 @@ static struct dentry *nilfs_get_parent(struct dentry *child)
441{ 441{
442 unsigned long ino; 442 unsigned long ino;
443 struct inode *inode; 443 struct inode *inode;
444 struct qstr dotdot = {.name = "..", .len = 2}; 444 struct qstr dotdot = QSTR_INIT("..", 2);
445 struct nilfs_root *root; 445 struct nilfs_root *root;
446 446
447 ino = nilfs_inode_by_name(child->d_inode, &dotdot); 447 ino = nilfs_inode_by_name(child->d_inode, &dotdot);