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 aa59184151d05be48e35527ab205170f6c43d4f2..8f4ce2658b7d607501c9bc77c6ac5e15a4097c55 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;
 }