1 --- linux-2.4.22-smp/fs/intermezzo/vfs.c.orig Sat Sep 20 21:58:59 2003
2 +++ linux-2.4.22-smp/fs/intermezzo/vfs.c Sat Sep 20 22:01:42 2003
3 @@ -467,7 +467,7 @@ int lento_setattr(const char *name, stru
4 struct presto_file_set *fset;
6 -#ifdef CONFIG_FS_POSIX_ACL
8 int (*set_posix_acl)(struct inode *, int type, posix_acl_t *)=NULL;
13 (dentry->d_inode->i_mode & ~S_IALLUGO);
14 CDEBUG(D_PIOCTL, "chmod: orig %#o, set %#o, result %#o\n",
15 dentry->d_inode->i_mode, set_mode, iattr->ia_mode);
16 -#ifdef CONFIG_FS_POSIX_ACL
18 /* ACl code interacts badly with setattr
19 * since it tries to modify the ACL using
20 * set_ext_attr which recurses back into presto.
25 -#ifdef CONFIG_FS_POSIX_ACL
27 /* restore the inode_operations if we changed them*/
28 if (iattr->ia_valid & ATTR_MODE)
29 dentry->d_inode->i_op->set_posix_acl=set_posix_acl;