Re: [PATCH v5 2/2] nilfs2: use atomic_long_t type for inodes_count and blocks_count fields in nilfs_root struct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On May 24, 2013, at 9:54 PM, Jörn Engel wrote:

> On Fri, 24 May 2013 17:32:52 +0400, Vyacheslav Dubeyko wrote:
>> 
>> Subject: [PATCH v5 2/2] nilfs2: use atomic_long_t type for inodes_count
> ...
>> The cp_inodes_count and cp_blocks_count are represented as
>> __le64 type in on-disk structure (struct nilfs_checkpoint).
> 
> Isn't atomic_long_t defined to be 32bit on 32bit architectures?
> 

As I understand, yes. Please, see link:
http://lxr.free-electrons.com/source/include/asm-generic/atomic-long.h#L141

With the best regards,
Vyacheslav Dubeyko.

> Jörn
> 
> --
> What one programmer can do in one month, two programmers can do in two months.
> -- Fred Brooks
> --
> To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux