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
LU-2555 fsfilt: fix race in ldiskfs_ext_new_extent_cb
[fs/lustre-release.git]
/
ldiskfs
/
kernel_patches
/
patches
/
ext4-misc-rhel6.patch
diff --git
a/ldiskfs/kernel_patches/patches/ext4-misc-rhel6.patch
b/ldiskfs/kernel_patches/patches/ext4-misc-rhel6.patch
index
eac6168
..
f84dda6
100644
(file)
--- a/
ldiskfs/kernel_patches/patches/ext4-misc-rhel6.patch
+++ b/
ldiskfs/kernel_patches/patches/ext4-misc-rhel6.patch
@@
-99,7
+99,7
@@
Index: linux-stage/fs/ext4/extents.c
+
+ if (path) {
+ /* probably there is space in leaf? */
-+ depth =
ext_depth(inode)
;
++ depth =
path->p_depth
;
+ if (le16_to_cpu(path[depth].p_hdr->eh_entries)
+ < le16_to_cpu(path[depth].p_hdr->eh_max))
+ return 1;