Jaegeuk Kim
d7b2931cce
FROMGIT: f2fs: flush data when enabling checkpoint back
...
During checkpoint=disable period, f2fs bypasses all the synchronous IOs such as
sync and fsync. So, when enabling it back, we must flush all of them in order
to keep the data persistent. Otherwise, suddern power-cut right after enabling
checkpoint will cause data loss.
Bug: 171063590
Fixes: 4354994f09 ("f2fs: checkpoint disabling")
Cc: stable@vger.kernel.org
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
(cherry picked from commit 8d52dbb373579b48f5758dd0cdd2ac0fb4e5be7f git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev)
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Iaca2d6fc1841fffa8677d5d592732c94241fb3fb
2022-08-10 12:46:21 -07:00
..
9p
This is the 5.4.75 stable release
2020-11-05 13:27:24 +01:00
adfs
affs
fs/affs: release old buffer head on error path
2021-03-04 10:26:48 +01:00
afs
This is the 5.4.196 stable release
2022-05-25 10:40:14 +02:00
autofs
befs
bfs
bfs: don't use WARNING: string when it's just info.
2021-01-06 14:48:39 +01:00
btrfs
This is the 5.4.193 stable release
2022-05-16 08:51:00 +02:00
cachefiles
cachefiles: Handle readpage error correctly
2020-11-05 11:43:36 +01:00
ceph
Merge 5.4.156 into android11-5.4-lts
2021-11-02 18:15:00 +01:00
cifs
This is the 5.4.192 stable release
2022-05-09 09:42:49 +02:00
coda
configfs
configfs: fix a race in configfs_{,un}register_subsystem()
2022-03-02 11:41:10 +01:00
cramfs
crypto
This is the 5.4.145 stable release
2021-09-12 09:54:40 +02:00
debugfs
debugfs: lockdown: Allow reading debugfs files that are not world readable
2022-01-27 09:19:36 +01:00
devpts
fsnotify: fix fsnotify hooks in pseudo filesystems
2022-02-01 17:24:34 +01:00
dlm
fs: dlm: filter user dlm messages for kernel locks
2022-01-27 09:19:40 +01:00
ecryptfs
This is the 5.4.122 stable release
2021-05-28 13:26:18 +02:00
efivarfs
efivarfs: revert "fix memory leak in efivarfs_create()"
2020-12-02 08:49:53 +01:00
efs
erofs
This is the 5.4.161 stable release
2021-11-21 15:34:05 +01:00
exportfs
ext2
This is the 5.4.189 stable release
2022-04-19 16:29:31 +02:00
ext4
This is the 5.4.191 stable release
2022-04-27 14:24:26 +02:00
f2fs
FROMGIT: f2fs: flush data when enabling checkpoint back
2022-08-10 12:46:21 -07:00
fat
freevxfs
fscache
fscache: Fix cookie key hashing
2021-09-22 12:26:25 +02:00
fuse
This is the 5.4.185 stable release
2022-03-16 14:40:31 +01:00
gfs2
Merge 5.4.195 into android11-5.4-lts
2022-05-18 16:50:18 +02:00
hfs
This is the 5.4.137 stable release
2021-07-31 09:04:18 +02:00
hfsplus
This is the 5.4.120 stable release
2021-05-19 10:41:47 +02:00
hostfs
hostfs: fix memory handling in follow_link()
2021-04-14 08:24:14 +02:00
hpfs
hugetlbfs
mm, hugetlb: allow for "high" userspace addresses
2022-05-09 09:03:28 +02:00
incfs
ANDROID: incremental-fs: limit mount stack depth
2022-04-07 13:52:27 -07:00
iomap
This is the 5.4.146 stable release
2021-09-15 14:01:16 +02:00
isofs
isofs: Fix out of bound access for corrupted isofs image
2021-11-12 14:43:03 +01:00
jbd2
jbd2: fix a potential race while discarding reserved buffers after an abort
2022-04-27 13:50:50 +02:00
jffs2
This is the 5.4.189 stable release
2022-04-19 16:29:31 +02:00
jfs
This is the 5.4.189 stable release
2022-04-19 16:29:31 +02:00
kernfs
lockd
lockd: lockd server-side shouldn't set fl_ops
2021-09-22 12:26:34 +02:00
minix
minix: fix bug when opening a file with O_DIRECT
2022-04-15 14:18:35 +02:00
nfs
This is the 5.4.197 stable release
2022-06-06 11:06:30 +02:00
nfs_common
nfs_common: need lock during iterate through the list
2020-12-30 11:51:22 +01:00
nfsd
NFSD: Fix possible sleep during nfsd4_release_lockowner()
2022-06-06 08:33:51 +02:00
nilfs2
nilfs2: fix lockdep warnings during disk space reclamation
2022-05-25 09:14:33 +02:00
nls
notify
ANDROID: vfs: add d_canonical_path for stacked filesystem support
2020-10-30 10:02:25 +01:00
ntfs
ntfs: add sanity check on allocation size
2022-04-15 14:18:23 +02:00
ocfs2
This is the 5.4.187 stable release
2022-03-23 12:28:18 +01:00
omfs
openpromfs
orangefs
This is the 5.4.173 stable release
2022-01-20 09:36:50 +01:00
overlayfs
This is the 5.4.168 stable release
2021-12-22 10:08:44 +01:00
proc
Merge 5.4.194 into android11-5.4-lts
2022-05-18 16:49:42 +02:00
pstore
pstore: Fix typo in compression option name
2021-03-04 10:26:45 +01:00
qnx4
qnx4: work around gcc false positive warning bug
2021-09-30 10:09:26 +02:00
qnx6
quota
quota: make dquot_quota_sync return errors from ->sync_fs
2022-02-23 11:59:55 +01:00
ramfs
ramfs: fix nommu mmap with gaps in the page cache
2020-10-29 09:57:53 +01:00
reiserfs
This is the 5.4.140 stable release
2021-08-12 14:00:44 +02:00
romfs
squashfs
This is the 5.4.120 stable release
2021-05-19 10:41:47 +02:00
sysfs
ANDROID: GKI: hack up fs/sysfs/file.c to prevent GENKSYMS change
2021-03-08 10:09:14 +01:00
sysv
tracefs
Merge branch 'android11-5.4' into 'android11-5.4-lts'
2022-03-21 16:18:49 +01:00
ubifs
This is the 5.4.189 stable release
2022-04-19 16:29:31 +02:00
udf
udf: Fix NULL ptr deref when converting from inline format
2022-02-01 17:24:34 +01:00
ufs
unicode
verity
This is the 5.4.151 stable release
2021-10-06 15:51:50 +02:00
xfs
This is the 5.4.171 stable release
2022-01-11 15:44:37 +01:00
aio.c
aio: fix use-after-free due to missing POLLFREE handling
2021-12-14 14:49:02 +01:00
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf.c
elf: don't use MAP_FIXED_NOREPLACE for elf interpreter mappings
2021-10-06 15:42:35 +02:00
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_misc: fix possible deadlock in bm_register_write
2021-03-17 17:03:57 +01:00
binfmt_script.c
block_dev.c
block: reexpand iov_iter after read/write
2021-05-22 11:38:29 +02:00
buffer.c
This is the 5.4.75 stable release
2020-11-05 13:27:24 +01:00
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c
coredump.c
coredump: fix core_pattern parse error
2020-12-11 13:23:30 +01:00
d_path.c
fs: fix NULL dereference due to data race in prepend_path()
2020-10-29 09:57:45 +01:00
dax.c
dax: fix ENOMEM handling in grab_mapping_entry()
2021-07-14 16:53:25 +02:00
dcache.c
fix dget_parent() fastpath race
2020-10-01 13:17:19 +02:00
dcookies.c
direct-io.c
This is the 5.4.112 stable release
2021-04-14 12:07:53 +02:00
drop_caches.c
eventfd.c
eventpoll.c
This is the 5.4.70 stable release
2020-10-07 08:50:29 +02:00
exec.c
This is the 5.4.197 stable release
2022-06-06 11:06:30 +02:00
fcntl.c
fcntl: fix potential deadlock for &fasync_struct.fa_lock
2021-09-15 09:47:28 +02:00
fhandle.c
file.c
fget: clarify and improve __fget_files() implementation
2022-03-02 11:41:18 +01:00
file_table.c
SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()
2022-05-25 09:14:34 +02:00
filesystems.c
fs-writeback.c
writeback: fix obtain a reference to a freeing memcg css
2021-07-14 16:53:35 +02:00
fs_context.c
memcg: charge fs_context and legacy_fs_context
2022-02-08 18:24:29 +01:00
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
inode.c
internal.h
cgroup1: fix leaked context root causing sporadic NULL deref in LTP
2021-07-31 08:19:37 +02:00
io_uring.c
io_uring: fix fs->users overflow
2022-04-15 14:18:41 +02:00
ioctl.c
Kconfig
Kconfig.binfmt
libfs.c
This is the 5.4.80 stable release
2020-11-25 12:46:13 +01:00
locks.c
Makefile
mbcache.c
mount.h
mpage.c
namei.c
This is the 5.4.176 stable release
2022-02-01 17:48:27 +01:00
namespace.c
Linux 5.4.143
2021-08-27 22:38:57 +02:00
no-block.c
nsfs.c
open.c
OWNERS
ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS
2021-04-01 13:45:14 +00:00
pipe.c
pipe: increase minimum default pipe size to 2 pages
2021-08-12 13:21:02 +02:00
pnode.c
pnode.h
This is the 5.4.106 stable release
2021-03-17 17:55:32 +01:00
posix_acl.c
proc_namespace.c
read_write.c
readdir.c
readdir: make sure to verify directory entry for legacy interfaces too
2021-04-21 12:56:16 +02:00
select.c
select: Fix indefinitely sleeping task in poll_schedule_timeout()
2022-01-29 10:25:11 +01:00
seq_file.c
seq_file: disallow extremely large seq buffer allocations
2021-07-20 16:10:54 +02:00
signalfd.c
signalfd: use wake_up_pollfree()
2021-12-14 14:49:02 +01:00
splice.c
stack.c
stat.c
This is the 5.4.191 stable release
2022-04-27 14:24:26 +02:00
statfs.c
super.c
vfs: make freeze_super abort when sync_filesystem returns error
2022-02-23 11:59:55 +01:00
sync.c
timerfd.c
userfaultfd.c
This is the 5.4.148 stable release
2021-09-25 14:41:58 +02:00
utimes.c
xattr.c