Re: [PATCH 18/22][RFC] Unionfs: Superblock operations

Jan Engelhardt
2006-09-04T07:50:55Z

>+/* final actions when unmounting a file system */
>+static void unionfs_put_super(struct super_block *sb)
>+{
>+ int bindex, bstart, bend;
>+ struct unionfs_sb_info *spd;
>+
>+ if ((spd = stopd(sb))) {

Sugg.:

if((spd = stopd(sb)) == NULL)
return;

>+static struct inode *unionfs_alloc_inode(struct super_block *sb)
>+{
>+ struct unionfs_inode_container *c;
>+
>+ c = (struct unionfs_inode_container *)
>+ kmem_cache_alloc(unionfs_inode_cachep, SLAB_KERNEL);

Nocast.

>+static void init_once(void *v, kmem_cache_t * cachep, unsigned long flags)
>+{
>+ struct unionfs_inode_container *c = (struct unionfs_inode_container *)v;

Nocast.

Jan Engelhardt
--

--
VGER BF report: H 0