]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/openpromfs/inode.c
Merge branches 'core/futexes', 'core/locking', 'core/rcu' and 'linus' into core/urgent
[linux-2.6-omap-h63xx.git] / fs / openpromfs / inode.c
index 9f5b054f06b932f873327a9c82e5674da54707cf..ffcd04f0012c6aa67dcf2fa5990d4d162f835f5a 100644 (file)
@@ -167,6 +167,7 @@ static int openpromfs_readdir(struct file *, void *, filldir_t);
 static const struct file_operations openprom_operations = {
        .read           = generic_read_dir,
        .readdir        = openpromfs_readdir,
+       .llseek         = generic_file_llseek,
 };
 
 static struct dentry *openpromfs_lookup(struct inode *, struct dentry *, struct nameidata *);
@@ -255,9 +256,6 @@ found:
                break;
        }
 
-       inode->i_gid = 0;
-       inode->i_uid = 0;
-
        d_add(dentry, inode);
        return NULL;
 }