summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/alloc.h
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2011-03-23 16:42:08 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-23 19:46:18 -0700
commita49ebbabb084d345991b72818a119616431416f2 (patch)
tree9e89ac864c70ccd83c9f83df5c94d7466c28b394 /fs/nilfs2/alloc.h
parentc4354d0d6812ad6729ac33d3c8bc64585cfdb890 (diff)
downloadop-kernel-dev-a49ebbabb084d345991b72818a119616431416f2.zip
op-kernel-dev-a49ebbabb084d345991b72818a119616431416f2.tar.gz
nilfs2: use little-endian bitops
As a preparation for removing ext2 non-atomic bit operations from asm/bitops.h. This converts ext2 non-atomic bit operations to little-endian bit operations. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/alloc.h')
-rw-r--r--fs/nilfs2/alloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nilfs2/alloc.h b/fs/nilfs2/alloc.h
index 9af34a7..f5fde36 100644
--- a/fs/nilfs2/alloc.h
+++ b/fs/nilfs2/alloc.h
@@ -74,7 +74,7 @@ int nilfs_palloc_freev(struct inode *, __u64 *, size_t);
#define nilfs_set_bit_atomic ext2_set_bit_atomic
#define nilfs_clear_bit_atomic ext2_clear_bit_atomic
-#define nilfs_find_next_zero_bit ext2_find_next_zero_bit
+#define nilfs_find_next_zero_bit find_next_zero_bit_le
/*
* persistent object allocator cache
OpenPOWER on IntegriCloud