linux-stable/fs/ext4
Theodore Ts'o 55b55f3ffd ext4: only check dquot_initialize_needed() when debugging
commit dea9d8f764 upstream.

ext4_xattr_block_set() relies on its caller to call dquot_initialize()
on the inode.  To assure that this has happened there are WARN_ON
checks.  Unfortunately, this is subject to false positives if there is
an antagonist thread which is flipping the file system at high rates
between r/o and rw.  So only do the check if EXT4_XATTR_DEBUG is
enabled.

Link: https://lore.kernel.org/r/20230608044056.GA1418535@mit.edu
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-14 10:57:14 +02:00
..
acl.c
acl.h
balloc.c ext4: fix WARNING in mb_find_extent 2023-05-17 11:13:27 +02:00
bitmap.c
block_validity.c ext4: eliminate bogus error in ext4_data_block_valid_rcu() 2021-07-11 12:49:30 +02:00
dir.c ext4: fix potential infinite loop in ext4_dx_readdir() 2021-10-06 15:31:25 +02:00
ext4.h ext4: add lockdep annotations for i_data_sem for ea_inode's 2023-06-09 10:24:03 +02:00
ext4_extents.h ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max 2020-06-22 09:05:21 +02:00
ext4_jbd2.c
ext4_jbd2.h ext4: use jbd2_inode dirty range scoping 2019-07-28 08:29:29 +02:00
extents.c Revert "ext4: generalize extents status tree search functions" 2023-01-24 07:11:51 +01:00
extents_status.c Revert "ext4: generalize extents status tree search functions" 2023-01-24 07:11:51 +01:00
extents_status.h Revert "ext4: generalize extents status tree search functions" 2023-01-24 07:11:51 +01:00
file.c ext4: avoid crash when inline data creation follows DIO write 2022-10-26 13:19:22 +02:00
fsmap.c ext4: fix another off-by-one fsmap error on 1k block filesystems 2023-03-17 08:31:41 +01:00
fsmap.h
fsync.c ext4: fix race between ext4_sync_parent() and rename() 2020-06-22 09:05:22 +02:00
hash.c
ialloc.c ext4: make directory inode spreading reflect flexbg size 2022-09-28 11:02:58 +02:00
indirect.c ext4: fix error code return to user-space in ext4_get_branch() 2023-01-18 11:30:45 +01:00
inline.c ext4: bail out of ext4_xattr_ibody_get() fails for any reason 2023-05-17 11:13:27 +02:00
inode.c ext4: fix kernel BUG in 'ext4_write_inline_data_end()' 2023-04-05 11:15:42 +02:00
ioctl.c ext4: zero i_disksize when initializing the bootloader inode 2023-03-17 08:31:42 +01:00
Kconfig
Makefile
mballoc.c ext4: Fix best extent lstart adjustment logic in ext4_mb_new_inode_pa() 2023-05-30 12:42:09 +01:00
mballoc.h
migrate.c ext4: fix warning in 'ext4_da_release_space' 2022-11-10 17:46:55 +01:00
mmp.c ext4: don't assume that mmp_nodename/bdevname have NUL 2020-02-19 19:51:55 +01:00
move_extent.c ext4: use jbd2_inode dirty range scoping 2019-07-28 08:29:29 +02:00
namei.c ext4: fix RENAME_WHITEOUT handling for inline directories 2023-03-17 08:31:41 +01:00
page-io.c ext4: fix cgroup writeback accounting with fs-layer encryption 2023-03-22 13:27:08 +01:00
readpage.c ext4: readpages() should submit IO as read-ahead 2018-08-17 16:20:29 -07:00
resize.c ext4: fix corruption when online resizing a 1K bigalloc fs 2023-01-18 11:30:45 +01:00
super.c ext4: improve error recovery code paths in __ext4_remount() 2023-05-17 11:13:27 +02:00
symlink.c ext4: report correct st_size for encrypted symlinks 2021-09-22 11:47:56 +02:00
sysfs.c ext4: Fix function prototype mismatch for ext4_feat_ktype 2023-02-25 11:51:51 +01:00
truncate.h ext4: handle layout changes to pinned DAX mappings 2018-07-29 17:00:22 -04:00
xattr.c ext4: only check dquot_initialize_needed() when debugging 2023-06-14 10:57:14 +02:00
xattr.h ext4: remove duplicate definition of ext4_xattr_ibody_inline_set() 2023-04-26 11:21:52 +02:00
xattr_security.c
xattr_trusted.c
xattr_user.c