lkml.org 
[lkml]   [2006]   [Sep]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 4 Sep 2006 09:46:59 +0200 (MEST)
FromJan Engelhardt <>
SubjectRe: [PATCH 18/22][RFC] Unionfs: Superblock operations
>+/* 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-09-04 07:53    [from the cache]
©2003-2008