Re: [PATCH] ext4: Save and restore state flags in EXT4_IOC_SETFLAGS.

2012-06-03 Thread Tao Ma
Hi Ted, Sorry for the delay. On 06/01/2012 11:48 AM, Ted Ts'o wrote: > On Fri, May 04, 2012 at 11:37:49PM +0800, Tao Ma wrote: >> From: Tao Ma >> >> In commit 353eb83c we removes i_state_flags with 64-bit longs, >> But in case we call EXT4_IOC_SETFLAGS, we

[PATCH] ext4: Save and restore state flags in EXT4_IOC_SETFLAGS.

2012-05-04 Thread Tao Ma
From: Tao Ma In commit 353eb83c we removes i_state_flags with 64-bit longs, But in case we call EXT4_IOC_SETFLAGS, we fail to save the high 32-bit state flags and only stores the low 32-bit back to ei->i_flags. So the state flags are missing now in 64-bit long architecture. Cc: "Theod