Whamcloud - gitweb
LU-228 kernel update [RHEL5 U6 2.6.18-238.9.1.el5]
[fs/lustre-release.git] / ldiskfs / kernel_patches / patches / ext3-corrupted-orphans-2.6.patch
index 607cf1e..cff6371 100644 (file)
  
 -      if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
 -          S_ISLNK(inode->i_mode)))
--              return;
+-              goto out_notrans;
 -      if (ext3_inode_is_fast_symlink(inode))
--              return;
+-              goto out_notrans;
 -      if (IS_APPEND(inode) || IS_IMMUTABLE(inode))
 +      if (!ext3_can_truncate(inode))
-               return;
+               goto out_notrans;
  
        /*
 --- linux-2.6.18-128.7.1.orig/fs/ext3/ialloc.c 2009-09-15 10:24:17.000000000 -0400