]> git.karo-electronics.de Git - karo-tx-linux.git/commit
] nilfs2: use atomic64_t type for inodes_count and blocks_count fields in nilfs_root...
authorVyacheslav Dubeyko <slava@dubeyko.com>
Wed, 19 Jun 2013 00:08:11 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Jun 2013 07:27:35 +0000 (17:27 +1000)
commite9fa6b06ff2ff2980fc032d0e13da6885ca0f907
tree59491c806c895b0920b94bb78e58208ab5b14ba6
parent89a478aa14b39f9d8acb4a406855e2eb89119a97
] nilfs2: use atomic64_t type for inodes_count and blocks_count fields in nilfs_root struct

The cp_inodes_count and cp_blocks_count are represented as __le64 type in
on-disk structure (struct nilfs_checkpoint).  But analogous fields in
in-core structure (struct nilfs_root) are represented by atomic_t type.

This patch replaces atomic_t on atomic64_t type in representation of
inodes_count and blocks_count fields in struct nilfs_root.

Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Acked-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Acked-by: Joern Engel <joern@logfs.org>
Cc: Clemens Eisserer <linuxhippy@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/nilfs2/ifile.c
fs/nilfs2/inode.c
fs/nilfs2/segment.c
fs/nilfs2/super.c
fs/nilfs2/the_nilfs.c
fs/nilfs2/the_nilfs.h