diff options
author | 2021-02-24 12:10:01 -0800 | |
---|---|---|
committer | 2021-02-24 13:38:35 -0800 | |
commit | d0146756a0993d3a01407b38cd87d965ccda72c6 (patch) | |
tree | 6befae289a5f85d4687d9f3fee5094785e8e93ea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hugetlbfs: remove special hugetlbfs_set_page_dirty() (diff) | |
download | wireguard-linux-d0146756a0993d3a01407b38cd87d965ccda72c6.tar.xz wireguard-linux-d0146756a0993d3a01407b38cd87d965ccda72c6.zip |
hugetlbfs: remove useless BUG_ON(!inode) in hugetlbfs_setattr()
When we reach here with inode = NULL, we should have crashed as inode has
already been dereferenced via hstate_inode. So this BUG_ON(!inode) does
not take effect and should be removed.
Link: https://lkml.kernel.org/r/20210118110700.52506-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions