]> err.no Git - linux-2.6/blobdiff - fs/openpromfs/inode.c
[PATCH] tightening hugetlb strict accounting
[linux-2.6] / fs / openpromfs / inode.c
index aeb0106890e4f1db6dc903f3d5e94f3724278ab0..464e2bce02030618779cb39e6f751679d1b8f538 100644 (file)
@@ -581,17 +581,17 @@ int property_release (struct inode *inode, struct file *filp)
        return 0;
 }
 
-static struct file_operations openpromfs_prop_ops = {
+static const struct file_operations openpromfs_prop_ops = {
        .read           = property_read,
        .write          = property_write,
        .release        = property_release,
 };
 
-static struct file_operations openpromfs_nodenum_ops = {
+static const struct file_operations openpromfs_nodenum_ops = {
        .read           = nodenum_read,
 };
 
-static struct file_operations openprom_operations = {
+static const struct file_operations openprom_operations = {
        .read           = generic_read_dir,
        .readdir        = openpromfs_readdir,
 };
@@ -1054,10 +1054,10 @@ out_no_root:
        return -ENOMEM;
 }
 
-static struct super_block *openprom_get_sb(struct file_system_type *fs_type,
-       int flags, const char *dev_name, void *data)
+static int openprom_get_sb(struct file_system_type *fs_type,
+       int flags, const char *dev_name, void *data, struct vfsmount *mnt)
 {
-       return get_sb_single(fs_type, flags, data, openprom_fill_super);
+       return get_sb_single(fs_type, flags, data, openprom_fill_super, mnt);
 }
 
 static struct file_system_type openprom_fs_type = {