search for: ocfs2_duplicate_inline_data

Displaying 1 result from an estimated 1 matches for "ocfs2_duplicate_inline_data".

2013 Jun 28
1
[PATCH V3] ocfs2: xattr: fix inlined xattr reflink
...ttr shared free space of inode block with inlined data or data extent record, so the size of the later two should be adjusted when inlined xattr is enabled. See ocfs2_xattr_ibody_init(). But this isn't done well when reflink. For inode with inlined data, its max inlined data size is adjusted in ocfs2_duplicate_inline_data(), no problem. But for inode with data extent record, its record count isn't adjusted. Fix it, or data extent record and inlined xattr may overwrite each other, then cause data corruption or xattr failure. One panic caused by this bug in our test environment is the following: kernel BUG at fs...