X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=fs%2Fisofs%2Finode.c;h=e99f7ff4ecb4470876a2713a551c00de765f284c;hb=2d3466a348a61c4d7f958ce80020eba17c09d7f7;hp=ea55b6c469ecdc8f0cb97a050f5b1d9ad0d04038;hpb=2685b267bce34c9b66626cb11664509c32a761a5;p=linux-2.6-omap-h63xx.git diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index ea55b6c469e..e99f7ff4ecb 100644 --- a/fs/isofs/inode.c +++ b/fs/isofs/inode.c @@ -77,8 +77,7 @@ static void init_once(void *foo, struct kmem_cache * cachep, unsigned long flags { struct iso_inode_info *ei = foo; - if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == - SLAB_CTOR_CONSTRUCTOR) + if (flags & SLAB_CTOR_CONSTRUCTOR) inode_init_once(&ei->vfs_inode); } @@ -106,7 +105,7 @@ static int isofs_remount(struct super_block *sb, int *flags, char *data) return 0; } -static struct super_operations isofs_sops = { +static const struct super_operations isofs_sops = { .alloc_inode = isofs_alloc_inode, .destroy_inode = isofs_destroy_inode, .read_inode = isofs_read_inode,