]> git.pld-linux.org Git - packages/kernel.git/blob - linux-2.4.22-intermezzo-acl.patch
- obsolete
[packages/kernel.git] / linux-2.4.22-intermezzo-acl.patch
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;
5          int error;
6 -#ifdef  CONFIG_FS_POSIX_ACL
7 +#if  0
8          int (*set_posix_acl)(struct inode *, int type, posix_acl_t *)=NULL;
9  #endif
10  
11          ENTRY;
12 @@ -507,7 +507,7 @@
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
17 +#if 0
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.  
21 @@ -535,7 +535,7 @@
22                  }
23          }
24  
25 -#ifdef CONFIG_FS_POSIX_ACL
26 +#if 0
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;
This page took 0.075224 seconds and 3 git commands to generate.