From c37ef806a3e1c0bca65fd03b7590d56d19625da4 Mon Sep 17 00:00:00 2001 From: "akpm@osdl.org" Date: Mon, 9 Jan 2006 20:51:58 -0800 Subject: [PATCH] remove ext3 xattr permission checks ) From: Christoph Hellwig remove checks now in the VFS Signed-off-by: Christoph Hellwig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- fs/ext3/xattr.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fs/ext3/xattr.c') diff --git a/fs/ext3/xattr.c b/fs/ext3/xattr.c index 238199d82ce..e8d60bf6b7d 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) -- cgit v1.2.3