diff --git a/[refs] b/[refs] index 8b5941fd2c3e..3a20e8613a5d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f598f9f1252b33410ffc52f51e117645ac5116c4 +refs/heads/master: 3899167dbd6832a3d8d7171b425257ad46b6c40c diff --git a/trunk/fs/ext4/file.c b/trunk/fs/ext4/file.c index 9630583cef28..56eee3d796c2 100644 --- a/trunk/fs/ext4/file.c +++ b/trunk/fs/ext4/file.c @@ -116,11 +116,9 @@ static int ext4_file_open(struct inode * inode, struct file * filp) * devices or filesystem images. */ memset(buf, 0, sizeof(buf)); - path.mnt = mnt->mnt_parent; - path.dentry = mnt->mnt_mountpoint; - path_get(&path); + path.mnt = mnt; + path.dentry = mnt->mnt_root; cp = d_path(&path, buf, sizeof(buf)); - path_put(&path); if (!IS_ERR(cp)) { memcpy(sbi->s_es->s_last_mounted, cp, sizeof(sbi->s_es->s_last_mounted));