Whamcloud - gitweb
0cb7884266cbbb941454068513848aeaf96d9af6
[fs/lustre-release.git] / lustre / kernel_patches / patches / export-2.6.32-vanilla.patch
1 security_inode_unlink() is used in filter_vfs_unlink()
2 to avoid lock ordering problems.  I'm not sure if this
3 is still needed with ext4, and it definitely looks to
4 be gone with DMU changes.
5
6 Index: linux+rh+chaos/security/security.c
7 ===================================================================
8 --- linux+rh+chaos.orig/security/security.c
9 +++ linux+rh+chaos/security/security.c
10 @@ -60,6 +60,7 @@ int __init security_init(void)
11  
12         return 0;
13  }
14 +EXPORT_SYMBOL(security_inode_unlink);
15  
16  /* Save user chosen LSM */
17  static int __init choose_lsm(char *str)