]> 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>
Thu, 27 Jun 2013 23:53:43 +0000 (09:53 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 28 Jun 2013 06:38:51 +0000 (16:38 +1000)
commit956b5e20e8b356cd223b86be2e725edd6d6ae5d9
treedfbc06f214503abdb92dfee9997658ac8fc89d0b
parentecc781aceb48df69380960ed4d1c49a258ed9027
] 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