summaryrefslogtreecommitdiffstats
path: root/arch/ia64/kernel/perfmon.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-07 18:21:57 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:52:41 -0500
commit4c1d5a64f134b254552b6211f6f79a1da667eab7 (patch)
tree130b704f727054b93f2a784a8d08252a1ecda3a0 /arch/ia64/kernel/perfmon.c
parent32dc730860155b235f13e0cd3fe58b263279baf9 (diff)
downloadlinux-stable-4c1d5a64f134b254552b6211f6f79a1da667eab7.tar.gz
linux-stable-4c1d5a64f134b254552b6211f6f79a1da667eab7.tar.bz2
linux-stable-4c1d5a64f134b254552b6211f6f79a1da667eab7.zip
vfs: for usbfs, etc. internal vfsmounts ->mnt_sb->s_root == ->mnt_root
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/ia64/kernel/perfmon.c')
-rw-r--r--arch/ia64/kernel/perfmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c
index 89accc626b86..b2c65e034f5d 100644
--- a/arch/ia64/kernel/perfmon.c
+++ b/arch/ia64/kernel/perfmon.c
@@ -2228,7 +2228,7 @@ pfm_alloc_file(pfm_context_t *ctx)
/*
* allocate a new dcache entry
*/
- path.dentry = d_alloc(pfmfs_mnt->mnt_sb->s_root, &this);
+ path.dentry = d_alloc(pfmfs_mnt->mnt_root, &this);
if (!path.dentry) {
iput(inode);
return ERR_PTR(-ENOMEM);