static inline void ext4_ext_store_pblock(struct ext4_extent *ex,
ext4_fsblk_t pb)
{
ex->ee_start_lo = cpu_to_le32((unsigned long) (pb & 0xffffffff));
ex->ee_start_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) &
0xffff);
}
这段代码来自linux内核。见最后一行。它确实 pb>>31 然后 >>1 这与 pb >> 32 相同,为什么不这样做?
谢谢你
编辑:谢谢大家。将补丁发送到 ext4 邮件列表