]> git.neil.brown.name Git - history.git/commit
[PATCH] Make inode_ops->setxattr value parameter const
authorAndrew Morton <akpm@digeo.com>
Fri, 22 Nov 2002 03:31:14 +0000 (19:31 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Fri, 22 Nov 2002 03:31:14 +0000 (19:31 -0800)
commit443bfb9d84810e868e8c7e81bdb5746819ca1916
tree3b8b149f4a3049f6e89a002328ec67503fd9bc0f
parent67d9df19a06f1a1145a789a5bc6407c5cc715ae6
[PATCH] Make inode_ops->setxattr value parameter const

Patch from Andreas Gruenbacher <agruen@suse.de>

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);
fs/ext2/xattr.c
fs/ext2/xattr.h
fs/ext3/xattr.c
fs/ext3/xattr.h
fs/jfs/jfs_xattr.h
fs/jfs/xattr.c
include/linux/fs.h