] 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> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- fs/nilfs2/ifile.c 1 addition, 1 deletionfs/nilfs2/ifile.c
- fs/nilfs2/inode.c 4 additions, 4 deletionsfs/nilfs2/inode.c
- fs/nilfs2/segment.c 2 additions, 2 deletionsfs/nilfs2/segment.c
- fs/nilfs2/super.c 5 additions, 3 deletionsfs/nilfs2/super.c
- fs/nilfs2/the_nilfs.c 2 additions, 2 deletionsfs/nilfs2/the_nilfs.c
- fs/nilfs2/the_nilfs.h 2 additions, 2 deletionsfs/nilfs2/the_nilfs.h
Please register or sign in to comment