Centos-kernel-stream-9/fs
Bill O'Donnell 4f3600dea0 xfs: remove redundant initializations of pointers drop_leaf and save_leaf
JIRA: https://issues.redhat.com/browse/RHEL-25419

commit 347eb95b27eb97bebdc3ea7de23558216f4e2c90
Author: Colin Ian King <colin.i.king@gmail.com>
Date:   Wed Jun 28 10:59:37 2023 -0700

    xfs: remove redundant initializations of pointers drop_leaf and save_leaf

    Pointers drop_leaf and save_leaf are initialized with values that are never
    read, they are being re-assigned later on just before they are used. Remove
    the redundant early initializations and keep the later assignments at the
    point where they are used. Cleans up two clang scan build warnings:

    fs/xfs/libxfs/xfs_attr_leaf.c:2288:29: warning: Value stored to 'drop_leaf'
    during its initialization is never read [deadcode.DeadStores]
    fs/xfs/libxfs/xfs_attr_leaf.c:2289:29: warning: Value stored to 'save_leaf'
    during its initialization is never read [deadcode.DeadStores]

    Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
    Reviewed-by: Darrick J. Wong <djwong@kernel.org>
    Signed-off-by: Darrick J. Wong <djwong@kernel.org>

Signed-off-by: Bill O'Donnell <bodonnel@redhat.com>
2024-06-06 10:32:51 -05:00
..
9p use less confusing names for iov_iter direction initializers 2024-05-15 13:56:26 +08:00
adfs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
affs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
afs Merge: Rebase kexec/kdump to upstream kernel v6.5 2024-05-27 13:52:25 +00:00
autofs dentry: switch the lists of children to hlist 2024-04-17 09:46:42 +08:00
befs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
bfs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
btrfs backing_dev: remove current->backing_dev_info 2024-04-17 10:04:36 +08:00
cachefiles
ceph Merge: ceph: switch to corrected encoding of max_xattr_size in mdsmap 2024-05-03 12:43:29 +02:00
coda dentry: switch the lists of children to hlist 2024-04-17 09:46:42 +08:00
configfs
cramfs mm: replace vma->vm_flags direct modifications with modifier calls 2024-04-29 14:33:17 -04:00
crypto fscrypt: Replace 1-element array with flexible array 2024-03-26 08:40:58 +08:00
debugfs debugfs: Export debugfs_create_str symbol 2024-04-17 10:46:57 +10:00
devpts
dlm Merge: net: visibility patches 2024-01-02 10:35:00 -05:00
ecryptfs
efivarfs efivarfs: import symbols in EFIVAR namespace 2024-04-05 09:19:26 -04:00
efs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
erofs
exfat fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
exportfs exportfs: remove kernel-doc warnings in exportfs 2023-12-02 05:12:40 -05:00
ext2 treewide: use get_random_u32_below() instead of deprecated function 2024-05-22 13:04:03 -05:00
ext4 Merge: xfs, ext4, ext2: use get_random_u32_below() instead of deprecated function 2024-06-03 19:55:48 +00:00
f2fs Merge: fs: Update fsverity to the latest upstream v6.9-rc1 2024-04-29 14:06:39 +00:00
fat Merge: fs: fix kernel-infoleak CVE-2024-26901 and uninitialized field CVE-2024-26973 2024-05-22 20:01:17 +00:00
freevxfs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
fscache use less confusing names for iov_iter direction initializers 2024-05-15 13:56:26 +08:00
fuse Merge: Rebase kexec/kdump to upstream kernel v6.5 2024-05-27 13:52:25 +00:00
gfs2 fs: convert writepage_t callback to pass a folio 2024-04-29 14:33:13 -04:00
hfs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
hfsplus fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
hostfs kbuild: remove --include-dir MAKEFLAG from top Makefile 2024-03-20 09:42:57 -04:00
hpfs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
hugetlbfs hugetlb: revert use of page_cache_next_miss() 2024-04-30 17:51:24 -06:00
iomap fs: Add FGP_WRITEBEGIN 2024-04-30 07:00:46 -04:00
isofs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
jbd2 jbd2,ocfs2: move jbd2_journal_submit_inode_data_buffers to ocfs2 2024-04-29 14:33:02 -04:00
jffs2
jfs mm,jfs: move write_one_page/folio_write_one to jfs 2024-04-30 07:00:11 -04:00
kernfs
lockd sysctl: fix proc_dobool() usability 2024-05-09 11:25:32 -04:00
minix fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
netfs fs: Add FGP_WRITEBEGIN 2024-04-30 07:00:46 -04:00
nfs Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8" 2024-05-16 15:26:41 +00:00
nfs_common
nfsd Merge: CNB95: netlink/devlink: update devlink & netlink to the v6.8 2024-05-16 13:34:03 +00:00
nilfs2 mm: return an ERR_PTR from __filemap_get_folio 2024-04-30 07:00:24 -04:00
nls fs/nls: make load_nls() take a const parameter 2024-03-11 18:15:05 -03:00
notify dentry: switch the lists of children to hlist 2024-04-17 09:46:42 +08:00
ntfs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
ocfs2 jbd2,ocfs2: move jbd2_journal_submit_inode_data_buffers to ocfs2 2024-04-29 14:33:02 -04:00
omfs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
openpromfs
orangefs mm: replace vma->vm_flags direct modifications with modifier calls 2024-04-29 14:33:17 -04:00
overlayfs ovl: stop using d_alloc_anon()/d_instantiate_anon() 2024-04-17 09:46:41 +08:00
proc Merge: Rebase kexec/kdump to upstream kernel v6.5 2024-05-27 13:52:25 +00:00
pstore pstore: inode: Only d_invalidate() is needed 2024-05-08 06:36:34 -04:00
qnx4 fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
qnx6 fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
quota quota: Fix potential NULL pointer dereference 2024-04-22 19:19:39 +02:00
ramfs shmem: use ramfs_kill_sb() for kill_sb method of ramfs-based tmpfs 2024-04-30 17:51:27 -06:00
reiserfs fs: build the legacy direct I/O code conditionally 2024-04-17 10:06:51 +08:00
romfs fs,block: yield devices early 2024-04-17 10:39:09 +08:00
smb Revert "Merge: cgroup: Backport upstream cgroup commits up to v6.8" 2024-05-16 15:26:41 +00:00
squashfs Squashfs: check the inode number is not the invalid value of zero 2024-05-17 09:25:52 -05:00
sysfs fs: sysfs: Fix reference leak in sysfs_break_active_protection() 2024-05-02 15:47:15 -04:00
sysv fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
tracefs
ubifs fscrypt: split up FS_CRYPTO_BLOCK_SIZE 2024-03-26 08:40:56 +08:00
udf fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
ufs fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
unicode
vboxsf
verity fsverity: remove hash page spin lock 2024-04-23 13:22:41 +02:00
xfs xfs: remove redundant initializations of pointers drop_leaf and save_leaf 2024-06-06 10:32:51 -05:00
zonefs iomap: update ki_pos in iomap_file_buffered_write 2024-04-17 10:04:41 +08:00
Kconfig fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
Kconfig.binfmt
Makefile fs: add CONFIG_BUFFER_HEAD 2024-04-17 10:10:20 +08:00
aio.c Merge: Rebase kexec/kdump to upstream kernel v6.5 2024-05-27 13:52:25 +00:00
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf.c coredump, vmcore: Set p_align to 4 for PT_NOTE 2024-05-15 10:32:32 +08:00
binfmt_elf_fdpic.c coredump, vmcore: Set p_align to 4 for PT_NOTE 2024-05-15 10:32:32 +08:00
binfmt_elf_test.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
buffer.c fs: remove the nobh helpers 2024-04-30 07:00:00 -04:00
char_dev.c
compat_binfmt_elf.c
coredump.c Merge: Rebase kexec/kdump to upstream kernel v6.5 2024-05-27 13:52:25 +00:00
d_path.c
dax.c
dcache.c Revert "get rid of DCACHE_GENOCIDE" 2024-04-17 10:27:34 +08:00
direct-io.c fs: move sb_init_dio_done_wq out of direct-io.c 2024-04-17 10:06:22 +08:00
drop_caches.c
eventfd.c eventfd: Remove usage of the deprecated ida_simple_xx() API 2024-04-15 19:14:00 +02:00
eventpoll.c fs: use correct __poll_t type 2024-04-15 19:13:59 +02:00
exec.c mm: replace vma->vm_flags direct modifications with modifier calls 2024-04-29 14:33:17 -04:00
fcntl.c
fhandle.c do_sys_name_to_handle(): use kzalloc() to fix kernel-infoleak 2024-05-03 10:53:50 +02:00
file.c
file_table.c fs: use __fput_sync in close(2) 2024-04-30 21:18:18 +08:00
filesystems.c
fs-writeback.c mm: convert mem_cgroup_css_from_page() to mem_cgroup_css_from_folio() 2024-04-29 14:33:10 -04:00
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c mm: vmscan: refactor updating current->reclaim_state 2024-04-30 07:00:59 -04:00
internal.h fs: move sb_init_dio_done_wq out of direct-io.c 2024-04-17 10:06:22 +08:00
ioctl.c fs: distinguish between user initiated freeze and kernel initiated freeze 2024-04-05 11:58:48 -05:00
kernel_read_file.c
libfs.c direct_write_fallback(): on error revert the ->ki_pos update from buffered write 2024-04-17 10:33:37 +08:00
locks.c Reapply "memcg: enable accounting for file lock caches" 2024-01-19 14:50:50 -03:00
mbcache.c
mount.h
mpage.c mpage: use folios in bio end_io handler 2024-04-30 07:00:57 -04:00
namei.c mm: fs: initialize fsdata passed to write_begin/write_end interface 2024-04-01 11:20:00 -04:00
namespace.c
nsfs.c nsfs: use d_make_root() 2024-04-17 09:46:43 +08:00
open.c fs: use __fput_sync in close(2) 2024-04-30 21:18:18 +08:00
pipe.c
pnode.c
pnode.h
posix_acl.c
proc_namespace.c
read_write.c use less confusing names for iov_iter direction initializers 2024-05-15 13:56:26 +08:00
readdir.c
remap_range.c
select.c
seq_file.c use less confusing names for iov_iter direction initializers 2024-05-15 13:56:26 +08:00
signalfd.c
splice.c Merge: Rebase kexec/kdump to upstream kernel v6.5 2024-05-27 13:52:25 +00:00
stack.c
stat.c fs: stat: compat: Add __ARCH_WANT_COMPAT_STAT 2024-03-20 09:42:34 -04:00
statfs.c
super.c Revert "mm: shrinkers: convert shrinker_rwsem to mutex" 2024-04-30 07:01:18 -04:00
sync.c
sysctls.c
timerfd.c
userfaultfd.c mm: lock vma explicitly before doing vm_flags_reset and vm_flags_reset_once 2024-04-30 17:51:30 -06:00
utimes.c
xattr.c