On Wed, 27 Feb 2008 15:39:38 -0500 "David P. Quigley" <dpquigl@xxxxxxxxxxxxx> wrote: > +#ifdef CONFIG_SECURITY > + if (ia_valid & ATTR_SECURITY_LABEL) { > + char *key = (char *)security_maclabel_getname(); > + vfs_setxattr_locked(dentry, key, > + attr->ia_label, attr->ia_label_len, 0); It would be nicer to change vfs_setxattr_locked() so that it takes a const char *. -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html