Skip to contentSkip to conversation

xfs: compiler implementation dependent behavior?

DISCUSSION Joe Perches 1 participant 1 message Apr 15, 2016

lore
Share & tools
lore
#0 lore raw

The value stored in *cycle in xlog_crack_grant_head_val in xfs_log_priv.h is compiler implementation dependent.

Does it matter?

static inline void
xlog_crack_grant_head_val(int64_t val, int *cycle, int *space)

{
	*cycle = val >> 32;
	*space = val & 0xffffffff;
}