X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fbfs%2Finode.c;h=58c7bd9f5301539294531c6557a097dcd780422d;hb=e030dbf91a87da7e8be3be3ca781558695bea683;hp=eac175ed9f445d999b3f8e5458f3a395de4c4a06;hpb=11c302c14d8ddc47504bd3b650bc9e8da7c717b7;p=~andy%2Flinux diff --git a/fs/bfs/inode.c b/fs/bfs/inode.c index eac175ed9f4..58c7bd9f530 100644 --- a/fs/bfs/inode.c +++ b/fs/bfs/inode.c @@ -1,7 +1,7 @@ /* * fs/bfs/inode.c * BFS superblock and inode operations. - * Copyright (C) 1999,2000 Tigran Aivazian + * Copyright (C) 1999-2006 Tigran Aivazian * From fs/minix, Copyright (C) 1991, 1992 Linus Torvalds. * * Made endianness-clean by Andrew Stribblehill , 2005. @@ -18,7 +18,7 @@ #include #include "bfs.h" -MODULE_AUTHOR("Tigran A. Aivazian "); +MODULE_AUTHOR("Tigran Aivazian "); MODULE_DESCRIPTION("SCO UnixWare BFS filesystem for Linux"); MODULE_LICENSE("GPL"); @@ -248,9 +248,7 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag { struct bfs_inode_info *bi = foo; - if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == - SLAB_CTOR_CONSTRUCTOR) - inode_init_once(&bi->vfs_inode); + inode_init_once(&bi->vfs_inode); } static int init_inodecache(void) @@ -270,7 +268,7 @@ static void destroy_inodecache(void) kmem_cache_destroy(bfs_inode_cachep); } -static struct super_operations bfs_sops = { +static const struct super_operations bfs_sops = { .alloc_inode = bfs_alloc_inode, .destroy_inode = bfs_destroy_inode, .read_inode = bfs_read_inode,