diff options
| author | Jan Kara <jack@suse.cz> | 2023-01-03 09:56:56 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 08:31:42 +0100 |
| commit | ec852375bb9766b0c205fb95fb19b28319655644 (patch) | |
| tree | 5862d8f3716272c1e4d998b65bcd496a90db1218 /scripts | |
| parent | c72225ea9ffa2ba458d6efc973e2c17f0166d41e (diff) | |
udf: Preserve link count of system files
[ Upstream commit fc8033a34a3ca7d23353e645e6dde5d364ac5f12 ]
System files in UDF filesystem have link count 0. To not confuse VFS we
fudge the link count to be 1 when reading such inodes however we forget
to restore the link count of 0 when writing such inodes. Fix that.
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
