Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197956
b: refs/heads/master
c: f01cbd3
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and Al Viro committed May 21, 2010
1 parent c48ee1e commit ee361e8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bb4354538eb7b92f32cfedbad68c7be266c0b467
refs/heads/master: f01cbd3f8148f2056567f829e07c157b28b2dd1e
4 changes: 2 additions & 2 deletions trunk/fs/btrfs/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,14 +282,14 @@ int btrfs_acl_chmod(struct inode *inode)
return ret;
}

struct xattr_handler btrfs_xattr_acl_default_handler = {
const struct xattr_handler btrfs_xattr_acl_default_handler = {
.prefix = POSIX_ACL_XATTR_DEFAULT,
.flags = ACL_TYPE_DEFAULT,
.get = btrfs_xattr_acl_get,
.set = btrfs_xattr_acl_set,
};

struct xattr_handler btrfs_xattr_acl_access_handler = {
const struct xattr_handler btrfs_xattr_acl_access_handler = {
.prefix = POSIX_ACL_XATTR_ACCESS,
.flags = ACL_TYPE_ACCESS,
.get = btrfs_xattr_acl_get,
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/btrfs/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size)
* List of handlers for synthetic system.* attributes. All real ondisk
* attributes are handled directly.
*/
struct xattr_handler *btrfs_xattr_handlers[] = {
const struct xattr_handler *btrfs_xattr_handlers[] = {
#ifdef CONFIG_BTRFS_FS_POSIX_ACL
&btrfs_xattr_acl_access_handler,
&btrfs_xattr_acl_default_handler,
Expand Down
6 changes: 3 additions & 3 deletions trunk/fs/btrfs/xattr.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@

#include <linux/xattr.h>

extern struct xattr_handler btrfs_xattr_acl_access_handler;
extern struct xattr_handler btrfs_xattr_acl_default_handler;
extern struct xattr_handler *btrfs_xattr_handlers[];
extern const struct xattr_handler btrfs_xattr_acl_access_handler;
extern const struct xattr_handler btrfs_xattr_acl_default_handler;
extern const struct xattr_handler *btrfs_xattr_handlers[];

extern ssize_t __btrfs_getxattr(struct inode *inode, const char *name,
void *buffer, size_t size);
Expand Down

0 comments on commit ee361e8

Please sign in to comment.