ixgbe: Cleanup incorrect header comments
[safe/jmp/linux-2.6] / drivers / oprofile / oprofilefs.c
index a275a3a..2766a6d 100644 (file)
@@ -29,16 +29,13 @@ static struct inode *oprofilefs_get_inode(struct super_block *sb, int mode)
 
        if (inode) {
                inode->i_mode = mode;
-               inode->i_uid = 0;
-               inode->i_gid = 0;
-               inode->i_blocks = 0;
                inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME;
        }
        return inode;
 }
 
 
-static struct super_operations s_ops = {
+static const struct super_operations s_ops = {
        .statfs         = simple_statfs,
        .drop_inode     = generic_delete_inode,
 };
@@ -181,13 +178,13 @@ static ssize_t atomic_read_file(struct file *file, char __user *buf, size_t coun
        atomic_t *val = file->private_data;
        return oprofilefs_ulong_to_user(atomic_read(val), buf, count, offset);
 }
+
 
 static const struct file_operations atomic_ro_fops = {
        .read           = atomic_read_file,
        .open           = default_open,
 };
+
 
 int oprofilefs_create_ro_atomic(struct super_block *sb, struct dentry *root,
        char const *name, atomic_t *val)
@@ -201,7 +198,7 @@ int oprofilefs_create_ro_atomic(struct super_block *sb, struct dentry *root,
        return 0;
 }
 
+
 int oprofilefs_create_file(struct super_block *sb, struct dentry *root,
        char const *name, const struct file_operations *fops)
 {