]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/ia64/kernel/perfmon.c
[PATCH] VFS: Permit filesystem to override root dentry on mount
[net-next-2.6.git] / arch / ia64 / kernel / perfmon.c
index 077f21216b654cc433cb58c2104b11c7954b8b19..2359e2809f506e65e786f525735d5b1c6d0ec013 100644 (file)
@@ -595,10 +595,11 @@ pfm_get_unmapped_area(struct file *file, unsigned long addr, unsigned long len,
 }
 
 
-static struct super_block *
-pfmfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data)
+static int
+pfmfs_get_sb(struct file_system_type *fs_type, int flags, const char *dev_name, void *data,
+            struct vfsmount *mnt)
 {
-       return get_sb_pseudo(fs_type, "pfm:", NULL, PFMFS_MAGIC);
+       return get_sb_pseudo(fs_type, "pfm:", NULL, PFMFS_MAGIC, mnt);
 }
 
 static struct file_system_type pfm_fs_type = {