Patchwork [-mmotm] ext4: remove unused ext4_set_bit_atomic and ext4_clear_bit_atomic

login
register
mail settings
Submitter Akinobu Mita
Date July 31, 2011, 1:09 p.m.
Message ID <1312117783-5985-1-git-send-email-akinobu.mita@gmail.com>
Download mbox | patch
Permalink /patch/107600/
State New
Headers show

Comments

Akinobu Mita - July 31, 2011, 1:09 p.m.
(This depends on ext4-use-proper-little-endian-bitops.patch in -mm tree)

This removes unused macro definisions for ext4_set_bit_atomic and
ext4_clear_bit_atomic.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger.kernel@dilger.ca>
Cc: Lukas Czerner <lczerner@redhat.com>
Cc: Amir Goldstein <amir73il@gmail.com>
---
 fs/ext4/ext4.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Lukas Czerner - Aug. 1, 2011, 8:16 p.m.
On Sun, 31 Jul 2011, Akinobu Mita wrote:

> (This depends on ext4-use-proper-little-endian-bitops.patch in -mm tree)
> 
> This removes unused macro definisions for ext4_set_bit_atomic and
> ext4_clear_bit_atomic.
> 

Thanks for the patch.

Reviewed-by: Lukas Czerner <lczerner@redhat.com>

Thanks!
-Lukas

> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
> Cc: "Theodore Ts'o" <tytso@mit.edu>
> Cc: Andreas Dilger <adilger.kernel@dilger.ca>
> Cc: Lukas Czerner <lczerner@redhat.com>
> Cc: Amir Goldstein <amir73il@gmail.com>
> ---
>  fs/ext4/ext4.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
> index e7811f7..4cf1dd8 100644
> --- a/fs/ext4/ext4.h
> +++ b/fs/ext4/ext4.h
> @@ -932,10 +932,8 @@ struct ext4_inode_info {
>  
>  #define ext4_test_and_set_bit		__test_and_set_bit_le
>  #define ext4_set_bit			__set_bit_le
> -#define ext4_set_bit_atomic		ext2_set_bit_atomic
>  #define ext4_test_and_clear_bit		__test_and_clear_bit_le
>  #define ext4_clear_bit			__clear_bit_le
> -#define ext4_clear_bit_atomic		ext2_clear_bit_atomic
>  #define ext4_test_bit			test_bit_le
>  #define ext4_find_next_zero_bit		find_next_zero_bit_le
>  #define ext4_find_next_bit		find_next_bit_le
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index e7811f7..4cf1dd8 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -932,10 +932,8 @@  struct ext4_inode_info {
 
 #define ext4_test_and_set_bit		__test_and_set_bit_le
 #define ext4_set_bit			__set_bit_le
-#define ext4_set_bit_atomic		ext2_set_bit_atomic
 #define ext4_test_and_clear_bit		__test_and_clear_bit_le
 #define ext4_clear_bit			__clear_bit_le
-#define ext4_clear_bit_atomic		ext2_clear_bit_atomic
 #define ext4_test_bit			test_bit_le
 #define ext4_find_next_zero_bit		find_next_zero_bit_le
 #define ext4_find_next_bit		find_next_bit_le