vfs: kill ->mnt_devname use in afs printks
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Nov 2011 07:22:06 +0000 (02:22 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:52:38 +0000 (22:52 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/afs/mntpt.c

index aa59184..8f4ce26 100644 (file)
@@ -242,7 +242,7 @@ struct vfsmount *afs_d_automount(struct path *path)
 {
        struct vfsmount *newmnt;
 
-       _enter("{%s,%s}", path->mnt->mnt_devname, path->dentry->d_name.name);
+       _enter("{%s}", path->dentry->d_name.name);
 
        newmnt = afs_mntpt_do_automount(path->dentry);
        if (IS_ERR(newmnt))
@@ -252,7 +252,7 @@ struct vfsmount *afs_d_automount(struct path *path)
        mnt_set_expiry(newmnt, &afs_vfsmounts);
        queue_delayed_work(afs_wq, &afs_mntpt_expiry_timer,
                           afs_mntpt_expiry_timeout * HZ);
-       _leave(" = %p {%s}", newmnt, newmnt->mnt_devname);
+       _leave(" = %p", newmnt);
        return newmnt;
 }