An error occurred while fetching folder content.
ext4: Fix block zeroing when punching holes in indirect block files
Jan Kara authored
commit 77ea2a4b

 upstream.

free_holes_block() passed local variable as a block pointer
to ext4_clear_blocks(). Thus ext4_clear_blocks() zeroed out this local
variable instead of proper place in inode / indirect block. We later
zero out proper place in inode / indirect block but don't dirty the
inode / buffer again which can lead to subtle issues (some changes e.g.
to inode can be lost).
Signed-off-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
056a01ab
Name Last commit Last update
..
9p 9p: don't forget to destroy inode cache if fscache registration fails
adfs truncate: drop 'oldsize' truncate_pagecache() parameter
affs truncate: drop 'oldsize' truncate_pagecache() parameter
afs afs: dget_parent() can't return a negative dentry
autofs4 autofs: fix lockref lookup
befs [readdir] convert befs
bfs truncate: drop 'oldsize' truncate_pagecache() parameter
btrfs btrfs: fix use of uninit "ret" in end_extent_writepage()
cachefiles CacheFiles: Don't try to dump the index key if the cookie has been cleared
ceph ceph: Avoid data inconsistency due to d-cache aliasing in readpage()
cifs CIFS: fix mount failure with broken pathnames when smb3 mount with mapchars option
coda helper for reading ->d_count
configfs configfs: fix race between dentry put and lookup
cramfs [readdir] convert f2fs
debugfs debugfs: debugfs_remove_recursive() must not rely on list_empty(d_subdirs)
devpts devpts: plug the memory leak in kill_sb
dlm dlm: keep listening connection alive with sctp mode
ecryptfs eCryptfs: fix 32 bit corruption issue
efivarfs efivarfs: we can use simple_lookup() now
efs efs: iget_locked() doesn't return an ERR_PTR()
exofs ore: Fix wrong math in allocation of per device BIO
exportfs exportfs: fix 32-bit nfsd handling of 64-bit inode numbers
ext2 ext2: Fix oops in ext2_get_block() called from ext2_quota_write()
ext3 ext[34]: fix double put in tmpfile
ext4 ext4: Fix block zeroing when punching holes in indirect block files
f2fs
fat
freevxfs
fscache
fuse
gfs2
hfs
hfsplus
hostfs
hpfs
hppfs
hugetlbfs
isofs
jbd
jbd2
jffs2
jfs
lockd
logfs
minix
ncpfs
nfs
nfs_common
nfsd
nilfs2
nls
notify
ntfs
ocfs2
omfs
openpromfs
proc
pstore
qnx4
qnx6
quota
ramfs
reiserfs
romfs
squashfs
sysfs
sysv
ubifs
udf
ufs
xfs
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
binfmt_som.c
bio-integrity.c
bio.c
block_dev.c
buffer.c
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c
coredump.c
coredump.h
dcache.c
dcookies.c
direct-io.c
drop_caches.c