Skip to content
Commit 0d043351 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: fix fortify warning in fs/ext4/fast_commit.c:1551

With the new fortify string system, rework the memcpy to avoid this
warning:

memcpy: detected field-spanning write (size 60) of single field "&raw_inode->i_generation" at fs/ext4/fast_commit.c:1551 (size 4)

Cc: stable@kernel.org
Fixes: 54d9469b

 ("fortify: Add run-time WARN for cross-field memcpy()")
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 9f2a1d9f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment