]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/autofs4/inode.c
Pull bugfix into test branch
[linux-2.6-omap-h63xx.git] / fs / autofs4 / inode.c
index 9c48250fd726406fc040816c96b4fa42e8d305ce..e8f6c5ad3e904a785c9a8fb73eac9af0b0b18633 100644 (file)
@@ -313,7 +313,7 @@ int autofs4_fill_super(struct super_block *s, void *data, int silent)
        struct autofs_sb_info *sbi;
        struct autofs_info *ino;
 
-       sbi = (struct autofs_sb_info *) kmalloc(sizeof(*sbi), GFP_KERNEL);
+       sbi = kmalloc(sizeof(*sbi), GFP_KERNEL);
        if ( !sbi )
                goto fail_unlock;
        DPRINTK("starting up, sbi = %p",sbi);