Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
kernel_patches
/
patches
/
linux-2.4.20-xattr-0.8.54-hp.patch
diff --git
a/lustre/kernel_patches/patches/linux-2.4.20-xattr-0.8.54-hp.patch
b/lustre/kernel_patches/patches/linux-2.4.20-xattr-0.8.54-hp.patch
index
f1365d7
..
3c156e8
100644
(file)
--- a/
lustre/kernel_patches/patches/linux-2.4.20-xattr-0.8.54-hp.patch
+++ b/
lustre/kernel_patches/patches/linux-2.4.20-xattr-0.8.54-hp.patch
@@
-679,7
+679,7
@@
+void
+ext2_xattr_unregister(int name_index, struct ext2_xattr_handler *handler)
+{
+void
+ext2_xattr_unregister(int name_index, struct ext2_xattr_handler *handler)
+{
-+ if (name_index > 0
||
name_index <= EXT2_XATTR_INDEX_MAX) {
++ if (name_index > 0
&&
name_index <= EXT2_XATTR_INDEX_MAX) {
+ write_lock(&ext2_handler_lock);
+ ext2_xattr_handlers[name_index-1] = NULL;
+ write_unlock(&ext2_handler_lock);
+ write_lock(&ext2_handler_lock);
+ ext2_xattr_handlers[name_index-1] = NULL;
+ write_unlock(&ext2_handler_lock);