--- /dev/null
+diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
+index 1ed737f..77e2fb3 100644
+--- a/fs/ext4/extents.c
++++ b/fs/ext4/extents.c
+@@ -2276,9 +2276,10 @@ static int ext4_remove_blocks(handle_t *handle,
+ unsigned short ee_len = ext4_ext_get_actual_len(ex);
+ int i, metadata = 0, flags =0;
+
+- if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode))
++ if (S_ISDIR(inode->i_mode) || S_ISLNK(inode->i_mode)) {
+ metadata = 1;
+ flags = EXT4_FREE_BLOCKS_METADATA;
++ }
+ #ifdef EXTENTS_STATS
+ {
+ struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
rhel6.5/ext4-fix-journal-quota.patch
rhel6.3/ext4-dont-check-in-ro.patch
rhel6.3/ext4-dont-check-before-replay.patch
+rhel6.5/ext4-brackets-in-ext4-remove-blocks.patch
rhel6.5/ext4-give-warning-with-dir-htree-growing.patch
rhel6.6/ext4_s_max_ext_tree_depth.patch
rhel6.5/ext4-fix-journal-quota.patch
+rhel6.5/ext4-brackets-in-ext4-remove-blocks.patch
rhel6.5/ext4-give-warning-with-dir-htree-growing.patch
rhel6.6/ext4_s_max_ext_tree_depth.patch
rhel6.5/ext4-fix-journal-quota.patch
+rhel6.5/ext4-brackets-in-ext4-remove-blocks.patch
rhel6.5/ext4-give-warning-with-dir-htree-growing.patch
rhel6.6/ext4_s_max_ext_tree_depth.patch
rhel6.5/ext4-fix-journal-quota.patch
+rhel6.5/ext4-brackets-in-ext4-remove-blocks.patch
/* old resid */
struct ost_id oi;
+ memset(&oi, 0, sizeof(oi));
ostid_set_seq(&oi, name->name[LUSTRE_RES_ID_VER_OID_OFF]);
if (ostid_set_id(&oi, name->name[LUSTRE_RES_ID_SEQ_OFF])) {
CERROR("Bad %llu to set " DOSTID "\n",
LPROC_SEQ_FOPS_WO_TYPE(ldlm, dump_ns);
LPROC_SEQ_FOPS_RW_TYPE(ldlm_rw, uint);
-LPROC_SEQ_FOPS_RO_TYPE(ldlm, uint);
#ifdef HAVE_SERVER_SUPPORT