Whamcloud - gitweb
LU-20 kernel: add descriptions to kernel patches
[fs/lustre-release.git] / lustre / kernel_patches / patches / export-2.6.32-vanilla.patch
1 security_inode_unlink() was used in filter_vfs_unlink() to avoid
2 lock ordering problems.  This is no longer needed for Lustre 2.4
3 with the change to osd-ldiskfs, but is kept for compatibility with
4 older server code so they can share the same kernel.
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)