Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185703
b: refs/heads/master
c: 3899167
h: refs/heads/master
i:
  185701: 57ed4ba
  185699: 13c2896
  185695: a5098c3
v: v3
  • Loading branch information
Al Viro committed Mar 3, 2010
1 parent 07e53ed commit cb6d78c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f598f9f1252b33410ffc52f51e117645ac5116c4
refs/heads/master: 3899167dbd6832a3d8d7171b425257ad46b6c40c
6 changes: 2 additions & 4 deletions trunk/fs/ext4/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit cb6d78c

Please sign in to comment.