diff options
author | akpm@osdl.org <akpm@osdl.org> | 2006-01-10 07:51:58 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 19:01:30 +0300 |
commit | c37ef806a3e1c0bca65fd03b7590d56d19625da4 (patch) | |
tree | 858caa56d151f28a98765e993a503c2481ec440c /fs/ext3/xattr.c | |
parent | 267fd05791aafea3786494365a5d13d7923ef526 (diff) | |
download | linux-c37ef806a3e1c0bca65fd03b7590d56d19625da4.tar.xz |
[PATCH] remove ext3 xattr permission checks
)
From: Christoph Hellwig <hch@lst.de>
remove checks now in the VFS
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3/xattr.c')
-rw-r--r-- | fs/ext3/xattr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ext3/xattr.c b/fs/ext3/xattr.c index 238199d82ce5..e8d60bf6b7df 100644 --- a/fs/ext3/xattr.c +++ b/fs/ext3/xattr.c @@ -946,10 +946,6 @@ ext3_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, }; int error; - if (IS_RDONLY(inode)) - return -EROFS; - if (IS_IMMUTABLE(inode) || IS_APPEND(inode)) - return -EPERM; if (!name) return -EINVAL; if (strlen(name) > 255) |