diff options
author | Miaohe Lin <[email protected]> | 2021-02-24 12:10:01 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-02-24 13:38:35 -0800 |
commit | d0146756a0993d3a01407b38cd87d965ccda72c6 (patch) | |
tree | 6befae289a5f85d4687d9f3fee5094785e8e93ea /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a4fa34cdcd18296c097e2648fe894d28c5cf9709 (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