From c00c9d69f221b404526d51e1e37c7e9a2a06bd4f Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 23 Feb 2008 01:43:53 -0500 Subject: [PATCH] Fix patch formatting. --- ext4-donot-mark-filesystem-error-if-preallocation-fails.patch | 4 +++- ext4-ext4_find_next_zero_bit_needs_aligned_address-fix.patch | 4 +++- ext4-set-EXT4_EXTENTS_FL-only-for-dir-and-regular-files.patch | 4 +++- ext4_ext_get_blocks_fixes_for_preallocation.patch | 1 + 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ext4-donot-mark-filesystem-error-if-preallocation-fails.patch b/ext4-donot-mark-filesystem-error-if-preallocation-fails.patch index fec716c6..556b5c0c 100644 --- a/ext4-donot-mark-filesystem-error-if-preallocation-fails.patch +++ b/ext4-donot-mark-filesystem-error-if-preallocation-fails.patch @@ -1,10 +1,12 @@ -ext4: Don't mark filesystem error if fallocate fails From: Aneesh Kumar K.V +ext4: Don't mark filesystem error if fallocate fails + IF we fail to allocate blocks don't call ext4_error. Also don't hide errors from ext4_get_blocks_wrap Signed-off-by: Aneesh Kumar K.V +Signed-off-by: "Theodore Ts'o" --- fs/ext4/extents.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ext4-ext4_find_next_zero_bit_needs_aligned_address-fix.patch b/ext4-ext4_find_next_zero_bit_needs_aligned_address-fix.patch index d4bfe4a7..adb730db 100644 --- a/ext4-ext4_find_next_zero_bit_needs_aligned_address-fix.patch +++ b/ext4-ext4_find_next_zero_bit_needs_aligned_address-fix.patch @@ -1,6 +1,7 @@ -From: "Aneesh Kumar K.V" ext4: ext4_find_next_zero_bit needs an aligned address on some arch +From: "Aneesh Kumar K.V" + ext4_find_next_zero_bit and ext4_find_next_bit needs a long aligned address on x8_64. Add mb_find_next_zero_bit and mb_find_next_bit and use them in the mballoc. @@ -12,6 +13,7 @@ Eric Sandeen debugged the problem and suggested the fix. Signed-off-by: Aneesh Kumar K.V Acked-by: Eric Sandeen Signed-off-by: Mingming Cao +Signed-off-by: "Theodore Ts'o" --- fs/ext4/mballoc.c | 62 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 22 deletions(-) diff --git a/ext4-set-EXT4_EXTENTS_FL-only-for-dir-and-regular-files.patch b/ext4-set-EXT4_EXTENTS_FL-only-for-dir-and-regular-files.patch index 82bd495d..913a4ffc 100644 --- a/ext4-set-EXT4_EXTENTS_FL-only-for-dir-and-regular-files.patch +++ b/ext4-set-EXT4_EXTENTS_FL-only-for-dir-and-regular-files.patch @@ -1,6 +1,7 @@ -From: "Aneesh Kumar K.V" ext4: set EXT4_EXTENTS_FL only for directory and regular files +From: "Aneesh Kumar K.V" + Also don't inherit EXT4_EXTENTS_FL from parent directory. If we have a directory with extent flag set and later mount the file system with -o noextents, the files created in that directory will also @@ -13,6 +14,7 @@ or socket Signed-off-by: Aneesh Kumar K.V Acked-off-by: Eric Sandeen Signed-off-by: Mingming Cao +Signed-off-by: "Theodore Ts'o" --- fs/ext4/ialloc.c | 22 +++++++++++++++------- fs/ext4/namei.c | 1 - diff --git a/ext4_ext_get_blocks_fixes_for_preallocation.patch b/ext4_ext_get_blocks_fixes_for_preallocation.patch index 8ac41247..ef7682cc 100644 --- a/ext4_ext_get_blocks_fixes_for_preallocation.patch +++ b/ext4_ext_get_blocks_fixes_for_preallocation.patch @@ -1,4 +1,5 @@ ext4: ext4_get_blocks_wrap() fix for wrting to preallocated + From: Mingming Cao This patch fixed a issue with wrting to a preallocated blocks. -- 2.11.4.GIT