Whamcloud - gitweb
b=16098
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-mballoc3-core.patch
index 2052b65..276cfbd 100644 (file)
@@ -261,7 +261,7 @@ Index: linux-2.6.5-7.311/fs/ext3/mballoc.c
 +++ linux-2.6.5-7.311/fs/ext3/mballoc.c
 @@ -0,0 +1,4385 @@
 +/*
-+ * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com
++ * Copyright 2008 Sun Microsystems, Inc.
 + * Written by Alex Tomas <alex@clusterfs.com>
 + *
 + * This program is free software; you can redistribute it and/or modify
@@ -3624,7 +3624,7 @@ Index: linux-2.6.5-7.311/fs/ext3/mballoc.c
 +
 +      /* in this short window concurrent discard can set pa_deleted */
 +      spin_lock(&pa->pa_lock);
-+      if (pa->pa_deleted == 0) {
++      if (pa->pa_deleted == 1) {
 +              spin_unlock(&pa->pa_lock);
 +              return;
 +      }