aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ufs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ufs/super.c')
-rw-r--r--fs/ufs/super.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/ufs/super.c b/fs/ufs/super.c
index ac8e279eccc6..302f340d0071 100644
--- a/fs/ufs/super.c
+++ b/fs/ufs/super.c
@@ -146,10 +146,7 @@ static struct dentry *ufs_fh_to_parent(struct super_block *sb, struct fid *fid,
146 146
147static struct dentry *ufs_get_parent(struct dentry *child) 147static struct dentry *ufs_get_parent(struct dentry *child)
148{ 148{
149 struct qstr dot_dot = { 149 struct qstr dot_dot = QSTR_INIT("..", 2);
150 .name = "..",
151 .len = 2,
152 };
153 ino_t ino; 150 ino_t ino;
154 151
155 ino = ufs_inode_by_name(child->d_inode, &dot_dot); 152 ino = ufs_inode_by_name(child->d_inode, &dot_dot);