kernel_optimize_test/fs/ext4
Akinobu Mita 597d508c17 ext4: use proper little-endian bitops
ext4_{set,clear}_bit() is defined as __test_and_{set,clear}_bit_le() for
ext4.  Only two ext4_{set,clear}_bit() calls check the return value.  The
rest of calls ignore the return value and they can be replaced with
__{set,clear}_bit_le().

This changes ext4_{set,clear}_bit() from __test_and_{set,clear}_bit_le()
to __{set,clear}_bit_le() and introduces ext4_test_and_{set,clear}_bit()
for the two places where old bit needs to be returned.

This ext4_{set,clear}_bit() change is considered safe, because if someone
uses these macros without noticing the change, new ext4_{set,clear}_bit
don't have return value and causes compiler errors where the return value
is used.

This also removes unused ext4_find_first_zero_bit().

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2011-12-28 20:32:07 -05:00
..
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c
dir.c
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h
ext4.h ext4: use proper little-endian bitops 2011-12-28 20:32:07 -05:00
extents.c ext4: add missing spaces to debugging printk's 2011-12-28 19:00:25 -05:00
file.c
fsync.c
hash.c
ialloc.c ext4: use proper little-endian bitops 2011-12-28 20:32:07 -05:00
indirect.c
inode.c ext4: remove no longer used functions in inode.c 2011-12-28 20:25:40 -05:00
ioctl.c ext4: remove unneeded file_remove_suid() from ext4_ioctl() 2011-12-21 14:14:31 -05:00
Kconfig
Makefile
mballoc.c ext4: do not reference pa_inode from group_pa 2011-12-18 15:49:54 -05:00
mballoc.h
migrate.c
mmp.c
move_extent.c
namei.c
page-io.c ext4: handle EOF correctly in ext4_bio_write_page() 2011-12-13 22:29:12 -05:00
resize.c
super.c ext4: add missing space to ext4_msg output in ext4_fill_super() 2011-12-18 16:13:58 -05:00
symlink.c
truncate.h
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h