diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-01 15:05:54 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-01 17:25:32 +0200 |
commit | 8d66bf5481002b0960aa49aed0987c73f5d7816c (patch) | |
tree | 7beac720e1df882a1cd4d6d09e6ac25ddd04b399 /fs/cifs/cifs_dfs_ref.c | |
parent | [PATCH] switch mtd and dm-table to lookup_bdev() (diff) | |
download | linux-8d66bf5481002b0960aa49aed0987c73f5d7816c.tar.xz linux-8d66bf5481002b0960aa49aed0987c73f5d7816c.zip |
[PATCH] pass struct path * to do_add_mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifs_dfs_ref.c')
-rw-r--r-- | fs/cifs/cifs_dfs_ref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifs_dfs_ref.c b/fs/cifs/cifs_dfs_ref.c index d82374c9e329..d2c8eef84f3c 100644 --- a/fs/cifs/cifs_dfs_ref.c +++ b/fs/cifs/cifs_dfs_ref.c @@ -226,7 +226,7 @@ static int add_mount_helper(struct vfsmount *newmnt, struct nameidata *nd, int err; mntget(newmnt); - err = do_add_mount(newmnt, nd, nd->path.mnt->mnt_flags, mntlist); + err = do_add_mount(newmnt, &nd->path, nd->path.mnt->mnt_flags, mntlist); switch (err) { case 0: path_put(&nd->path); |