summaryrefslogtreecommitdiff
path: root/fs/ext3/inode.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2011-06-01 23:34:04 +0900
committerJan Kara <jack@suse.cz>2011-06-25 17:29:52 +0200
commit9008593017069ad513cc7dc78a6c94e8dfddba31 (patch)
treeb44a9c8d3135ebd82fcbe11e0a67a000aa3085aa /fs/ext3/inode.c
parentfbcc9e624b8dbc7f740fac3906aa261b83398100 (diff)
downloadlinux-3.10-9008593017069ad513cc7dc78a6c94e8dfddba31.tar.gz
linux-3.10-9008593017069ad513cc7dc78a6c94e8dfddba31.tar.bz2
linux-3.10-9008593017069ad513cc7dc78a6c94e8dfddba31.zip
ext3: use proper little-endian bitops
ext3_{set,clear}_bit() is defined as __test_and_{set,clear}_bit_le() for ext3. But all ext3_{set,clear}_bit() calls ignore return values. So these can be replaced with __{set,clear}_bit_le(). This changes ext3_{set,clear}_bit safely, because if someone uses these macros without noticing the change, new ext3_{set,clear}_bit don't have return value and causes compiler errors where the return value is used. This also removes unused ext3_find_first_zero_bit(). Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Cc: Jan Kara <jack@suse.cz> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Andreas Dilger <adilger.kernel@dilger.ca> Cc: linux-ext4@vger.kernel.org Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3/inode.c')
0 files changed, 0 insertions, 0 deletions