summaryrefslogtreecommitdiff
path: root/drivers/bus
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-01-23 14:29:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-17 08:50:19 +0100
commit9ee18ff099b0d507a1aaebe8b068d891b4f3990e (patch)
treef6bfdc6cf5b312a0ea34f2826cea7ee53961ff6b /drivers/bus
parenta926daa8b13c17603102054b46632298a3f19d9c (diff)
downloadlinux-9ee18ff099b0d507a1aaebe8b068d891b4f3990e.tar.gz
linux-9ee18ff099b0d507a1aaebe8b068d891b4f3990e.tar.bz2
linux-9ee18ff099b0d507a1aaebe8b068d891b4f3990e.zip
udf: Fix off-by-one error when discarding preallocation
[ Upstream commit f54aa97fb7e5329a373f9df4e5e213ced4fc8759 ] The condition determining whether the preallocation can be used had an off-by-one error so we didn't discard preallocation when new allocation was just following it. This can then confuse code in inode_getblk(). CC: stable@vger.kernel.org Fixes: 16d055656814 ("udf: Discard preallocation before extending file with a hole") Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions