Searched hist:"362 eca70b53389bddf3143fe20f53dcce2cfdf61" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/ext4/ |
H A D | inline.c | diff 362eca70b53389bddf3143fe20f53dcce2cfdf61 Tue Jul 10 00:07:43 CDT 2018 Theodore Ts'o <tytso@mit.edu> ext4: fix inline data updates with checksums enabled
The inline data code was updating the raw inode directly; this is problematic since if metadata checksums are enabled, ext4_mark_inode_dirty() must be called to update the inode's checksum. In addition, the jbd2 layer requires that get_write_access() be called before the metadata buffer is modified. Fix both of these problems.
https://bugzilla.kernel.org/show_bug.cgi?id=200443
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
|
H A D | inode.c | diff 362eca70b53389bddf3143fe20f53dcce2cfdf61 Tue Jul 10 00:07:43 CDT 2018 Theodore Ts'o <tytso@mit.edu> ext4: fix inline data updates with checksums enabled
The inline data code was updating the raw inode directly; this is problematic since if metadata checksums are enabled, ext4_mark_inode_dirty() must be called to update the inode's checksum. In addition, the jbd2 layer requires that get_write_access() be called before the metadata buffer is modified. Fix both of these problems.
https://bugzilla.kernel.org/show_bug.cgi?id=200443
Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@vger.kernel.org
|