Thread (3 messages) 3 messages, 2 authors, 2018-11-16

Re: [PATCH] e2fsck: check xattr 'system.data' before setting inline_data feature

From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2018-11-16 04:05:56

On Thu, Nov 15, 2018 at 12:54:31PM -0500, Theodore Y. Ts'o wrote:
On Tue, Oct 30, 2018 at 05:15:01PM +1100, Li Dongyang wrote:
quoted
ext2fs_inline_data_size will happy return 0 and set size to
EXT4_MIN_INLINE_DATA_SIZE even when inode doesn't have
xattr 'system.data', a corrupted i_flags could make e2fsck
enable the inline_data on the superblock.

We should only offer to enable inline_data when i_flags is set
and xattr 'system.data' can be found.

Signed-off-by: Li Dongyang <redacted>
Thanks, applied.
Oops, I see there's a V2 version of this patch.

      	    	      	 	 - Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help