summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2024-02-07 05:24:06 +0300
committerDavid Sterba <dsterba@suse.com>2024-03-04 18:24:51 +0300
commit636d91d7ee2399df59366fc32b10aa79ba80eefd (patch)
tree7582b5e78fab58d5ec23e14dbdca269a9407220a /scripts/gdb/linux/utils.py
parentbfe8a0ccbb3a02ff0a3b2e835b550e4180d2f86a (diff)
downloadlinux-636d91d7ee2399df59366fc32b10aa79ba80eefd.tar.xz
btrfs: delete BUG_ON in btrfs_init_locked_inode()
The purpose of the BUG_ON is not clear. The helper btrfs_grab_root() could return a NULL in case args->root would be a NULL or if there are zero references. Then we check if the root pointer stored in the inode still exists. The whole call chain is for iget: btrfs_iget btrfs_iget_path btrfs_iget_locked iget5_locked btrfs_init_locked_inode which is called from many contexts where we the root pointer is used and we can safely assume has enough references. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions