android_kernel_xiaomi_sm8450/fs
Chao Yu ee2e0e624b BACKPORT: f2fs: compress: fix to update i_compr_blocks correctly
Previously, we account reserved blocks and compressed blocks into
@compr_blocks, then, f2fs_i_compr_blocks_update(,compr_blocks) will
update i_compr_blocks incorrectly, fix it.

Meanwhile, for the case all blocks in cluster were reserved, fix to
update dn->ofs_in_node correctly.

Bug: 378001005
Fixes: eb8fbaa53374 ("f2fs: compress: fix to check unreleased compressed cluster")
Change-Id: Ie195fc57a1d55ff9f42fe4855edd21da1c88bb90
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 186e7d71534df4589405925caca5597af7626c12)
2024-11-12 20:33:44 +00:00
..
9p Merge 5.10.217 into android12-5.10-lts 2024-06-14 13:21:33 +00:00
adfs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
affs Merge 5.10.166 into android12-5.10-lts 2023-02-17 12:18:56 +00:00
afs This is the 5.10.219 stable release 2024-07-10 14:41:23 +00:00
autofs Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
befs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
bfs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
btrfs This is the 5.10.226 stable release 2024-09-14 20:53:50 +00:00
cachefiles Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
ceph This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
cifs Merge 5.10.221 into android12-5.10-lts 2024-07-17 09:08:09 +00:00
coda This is the 5.10.173 stable release 2023-03-22 11:21:35 +00:00
configfs Revert "configfs: fix a race in configfs_lookup()" 2023-10-26 09:30:40 +00:00
cramfs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
crypto ANDROID: abi preservation for fscrypt change in 5.10.154 2022-12-01 16:47:19 +00:00
debugfs debugfs: fix automount d_fsdata usage 2024-01-25 14:37:36 -08:00
devpts fsnotify: fix fsnotify hooks in pseudo filesystems 2022-02-01 17:25:39 +01:00
dlm dlm: fix plock lookup when using multiple lockspaces 2023-09-19 12:20:22 +02:00
ecryptfs Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
efivarfs This is the 5.10.209 stable release 2024-01-27 03:00:58 +00:00
efs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
erofs erofs: fix lz4 inplace decompression 2024-03-01 13:16:48 +01:00
exfat Merge tag 'android12-5.10.205_r00' into branch 'android12-5.10' 2024-01-26 02:33:22 +00:00
exportfs Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
ext2 This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
ext4 Merge ddee5b4b6a ("mptcp: pm: avoid possible UaF when selecting endp") into android12-5.10-lts 2024-09-13 05:19:26 +00:00
f2fs BACKPORT: f2fs: compress: fix to update i_compr_blocks correctly 2024-11-12 20:33:44 +00:00
fat This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
freevxfs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
fscache ANDROID: GKI: set more vfs-only exports into their own namespace 2022-04-07 20:52:29 +02:00
fuse Merge tag 'android12-5.10.226_r00' into android12-5.10 2024-10-28 18:51:06 +00:00
gfs2 Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
hfs This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
hfsplus This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
hostfs hostfs: fix memory handling in follow_link() 2021-04-14 08:42:06 +02:00
hpfs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
hugetlbfs mm: hugetlb pages should not be reserved by shmat() if SHM_NORESERVE 2024-03-15 10:48:22 -04:00
incfs ANDROID: Incremental fs: Retry page faults on non-fatal errors 2024-07-24 16:54:57 +00:00
iomap This is the 5.10.129 stable release 2022-07-28 16:55:29 +02:00
isofs This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
jbd2 This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
jffs2 This is the 5.10.222 stable release 2024-07-20 13:33:30 +00:00
jfs This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
kernfs This is the 5.10.210 stable release 2024-04-10 07:10:03 +00:00
lockd Revert "Merge 751777a79a ("nfsd: make svc_stat per-network namespace instead of global") into android12-5.10-lts" 2024-09-14 14:26:55 +00:00
minix This is the 5.10.111 stable release 2022-04-21 14:27:41 +02:00
nfs This is the 5.10.226 stable release 2024-09-14 20:53:50 +00:00
nfs_common Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
nfsd Revert "Merge 751777a79a ("nfsd: make svc_stat per-network namespace instead of global") into android12-5.10-lts" 2024-09-14 14:26:55 +00:00
nilfs2 This is the 5.10.226 stable release 2024-09-14 20:53:50 +00:00
nls Revert "fs/nls: make load_nls() take a const parameter" 2023-09-30 15:48:01 +00:00
notify Merge ddee5b4b6a ("mptcp: pm: avoid possible UaF when selecting endp") into android12-5.10-lts 2024-09-13 05:19:26 +00:00
ntfs This is the 5.10.156 stable release 2022-12-02 08:42:05 +00:00
ocfs2 This is the 5.10.223 stable release 2024-08-12 08:25:20 +00:00
omfs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
openpromfs openpromfs: finish conversion to the new mount API 2024-06-16 13:32:01 +02:00
orangefs This is the 5.10.222 stable release 2024-07-20 13:33:30 +00:00
overlayfs Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
proc This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
pstore This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
qnx4 Merge tag 'android12-5.10.81_r00' into android12-5.10 2022-01-21 09:35:04 +01:00
qnx6 ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
quota quota: Remove BUG_ON from dqget() 2024-09-04 13:17:35 +02:00
ramfs shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs 2023-07-27 08:44:13 +02:00
reiserfs This is the 5.10.195 stable release 2023-09-19 11:32:32 +00:00
romfs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
squashfs This is the 5.10.226 stable release 2024-09-14 20:53:50 +00:00
sysfs fs: sysfs: Fix reference leak in sysfs_break_active_protection() 2024-05-02 16:23:39 +02:00
sysv This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
tracefs This is the 5.10.197 stable release 2023-10-26 17:52:15 +00:00
ubifs This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
udf Revert "udf: Avoid excessive partition lengths" 2024-09-30 17:36:41 +00:00
ufs ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
unicode UPSTREAM: unicode: Don't special case ignorable code points 2024-10-11 21:16:16 +00:00
vboxsf This is the 5.10.215 stable release 2024-06-01 11:03:55 +00:00
verity Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
xfs Merge 5.10.184 into android12-5.10-lts 2023-06-28 07:16:23 +00:00
zonefs Merge 5.10.211 into android12-5.10-lts 2024-04-16 15:38:10 +00:00
aio.c fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion 2024-04-13 12:58:53 +02:00
anon_inodes.c UPSTREAM: fs: anon_inodes: rephrase to appropriate kernel-doc 2021-03-03 16:18:33 +00:00
attr.c This is the 5.10.197 stable release 2023-10-26 17:52:15 +00:00
bad_inode.c ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
binfmt_aout.c
binfmt_elf_fdpic.c Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
binfmt_elf.c Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
binfmt_em86.c
binfmt_flat.c binfmt_flat: do not stop relocating GOT entries prematurely on riscv 2022-06-09 10:20:47 +02:00
binfmt_misc.c Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
binfmt_script.c
block_dev.c This is the 5.10.208 stable release 2024-01-16 13:12:39 +00:00
buffer.c This is the 5.10.156 stable release 2022-12-02 08:42:05 +00:00
char_dev.c chardev: fix error handling in cdev_device_add() 2023-01-14 10:15:59 +01:00
compat_binfmt_elf.c
coredump.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
d_path.c fs: fix NULL dereference due to data race in prepend_path() 2020-10-14 14:54:45 -07:00
dax.c dax: fix cache flush on PMD-mapped pages 2022-06-09 10:21:16 +02:00
dcache.c This is the 5.10.223 stable release 2024-08-12 08:25:20 +00:00
dcookies.c
direct-io.c ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
drop_caches.c FROMGIT: fs: drop_caches: draining pages before dropping caches 2023-08-10 11:28:35 +00:00
eventfd.c eventfd: prevent underflow for eventfd semaphores 2023-09-19 12:20:06 +02:00
eventpoll.c Merge 5.10.185 into android12-5.10-lts 2023-06-28 10:31:14 +00:00
exec.c This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
fcntl.c fcntl: fix potential deadlocks for &fown_struct.lock 2022-10-30 09:41:18 +01:00
fhandle.c do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak 2024-03-26 18:21:47 -04:00
file_table.c SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() 2022-05-18 10:23:48 +02:00
file.c Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
filesystems.c
fs_context.c fs: avoid empty option when generating legacy mount string 2023-07-27 08:44:13 +02:00
fs_parser.c fs_parse: mark fs_param_bad_value() as static 2020-10-13 18:38:27 -07:00
fs_pin.c
fs_struct.c
fs_types.c ANDROID: GKI: set more vfs-only exports into their own namespace 2022-04-07 20:52:29 +02:00
fs-writeback.c Merge 5.10.180 into android12-5.10-lts 2023-06-26 17:31:57 +00:00
fsopen.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
init.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
inode.c Merge 5.10.225 into android12-5.10-lts 2024-09-11 14:51:02 +00:00
internal.h fs: Establish locking order for unrelated directories 2023-07-27 08:44:13 +02:00
ioctl.c This is the 5.10.210 stable release 2024-04-10 07:10:03 +00:00
Kconfig Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
Kconfig.binfmt
kernel_read_file.c vfs: check fd has read access in kernel_read_file_from_fd() 2021-10-27 09:56:51 +02:00
libfs.c This is the 5.10.163 stable release 2023-02-06 12:30:05 +00:00
locks.c ANDROID: properly backport filelock fix in 5.10.223 2024-08-12 13:09:55 +00:00
Makefile UPSTREAM: io_uring: import 5.15-stable io_uring 2023-02-07 13:38:15 +00:00
mbcache.c mbcache: Avoid nesting of cache->c_list_lock under bit locks 2023-01-14 10:16:50 +01:00
mount.h
mpage.c ANDROID: GKI: set vfs-only exports into their own namespace 2022-01-11 09:30:47 +01:00
namei.c Revert "Merge 5.10.220 into android12-5.10-lts" 2024-07-16 16:33:14 +00:00
namespace.c This is the 5.10.209 stable release 2024-01-27 03:00:58 +00:00
no-block.c
nsfs.c
open.c Merge 5.10.221 into android12-5.10-lts 2024-07-17 09:08:09 +00:00
pipe.c This is the 5.10.210 stable release 2024-04-10 07:10:03 +00:00
pnode.c pnode: terminate at peers of source 2023-01-14 10:16:27 +01:00
pnode.h mount: fix mounting of detached mounts onto targets that reside on shared mounts 2021-03-17 17:06:13 +01:00
posix_acl.c
proc_namespace.c proc mountinfo: make splice available again 2020-12-30 11:54:02 +01:00
read_write.c This is the 5.10.160 stable release 2022-12-20 12:38:28 +00:00
readdir.c readdir: make sure to verify directory entry for legacy interfaces too 2021-04-21 13:00:54 +02:00
remap_range.c fs/remap: constrain dedupe of EOF blocks 2022-07-21 21:20:01 +02:00
select.c fs/select: rework stack allocation hack for clang 2024-03-26 18:21:47 -04:00
seq_file.c seq_file: disallow extremely large seq buffer allocations 2021-07-20 16:05:59 +02:00
signalfd.c Revert "io_uring: disable polling pollfree files" 2022-09-22 13:22:53 +02:00
splice.c This is the 5.10.149 stable release 2022-10-19 11:11:59 +02:00
stack.c
stat.c This is the 5.10.113 stable release 2022-05-12 11:23:35 +02:00
statfs.c statfs: enforce statfs[64] structure initialization 2023-05-30 12:57:55 +01:00
super.c This is the 5.10.224 stable release 2024-09-04 11:06:25 +00:00
sync.c This is the 5.10.140 stable release 2022-08-31 18:52:48 +02:00
timerfd.c ANDROID: fs: Add vendor hooks for ep_create_wakeup_source & timerfd_create 2021-03-24 17:57:22 +00:00
userfaultfd.c ANDROID: 16K: Fixup padding vm_flags bits on VMA splits 2024-10-10 16:12:11 -07:00
utimes.c
xattr.c This is the 5.10.163 stable release 2023-02-06 12:30:05 +00:00