Re: [Patch?] Teach sysfs_get_name not to use a dentry

From: Chris Wright
Date: Thu Dec 02 2004 - 01:58:14 EST


* Adam J. Richter (adam@xxxxxxxxxxxxx) wrote:
> -static int create_dir(struct kobject * k, struct dentry * p,
> - const char * n, struct dentry ** d)
> +static int create_dir(void *element, struct dentry * p,
> + const char * n, struct dentry ** d, int type)

Hmm, I did not look closely, but moving from well-typed to untyped void *
doesn't look nice.

thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/