aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2021-02-24 12:10:01 -0800
committerLinus Torvalds <[email protected]>2021-02-24 13:38:35 -0800
commitd0146756a0993d3a01407b38cd87d965ccda72c6 (patch)
tree6befae289a5f85d4687d9f3fee5094785e8e93ea /tools/perf/scripts/python/mem-phys-addr.py
parenta4fa34cdcd18296c097e2648fe894d28c5cf9709 (diff)
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/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Reviewed-by: Mike Kravetz <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions