[PATCH] Make inode_ops->setxattr value parameter const (2.4.x + 2.5.x)

From: Andreas Gruenbacher (agruen@suse.de)
Date: Wed Nov 20 2002 - 10:05:45 EST


Hello,

the setxattr inode operation is defined like this in 2.4 and 2.5:

        int (*setxattr) (struct dentry *dentry, const char *name,
                         void *value, size_t size, int flags);

the original type of the value parameter was `const void *'; the const
obviously has been lost at some point. The definition should be:

        int (*setxattr) (struct dentry *dentry, const char *name,
                         const void *value, size_t size, int flags);

Please apply the attached patches.

Thanks,
Andreas.

------------------------------------------------------------------
 Andreas Gruenbacher SuSE Linux AG
 mailto:agruen@suse.de Deutschherrnstr. 15-19
 http://www.suse.de/ D-90429 Nuernberg, Germany





-
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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:32 EST