aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2021-07-26 07:59:20 -0400
committerAnna Schumaker <[email protected]>2021-08-09 16:57:04 -0400
commit7c0bbf2d3dcd13c906244e0c2e4a0ba3a33dab6a (patch)
tree652a4264cbde513fd6ea9f727722e8046fe134c1 /scripts/gdb/linux/tasks.py
parente20772cbdf463c12088837e5a08bde1b876bfd25 (diff)
NFSv4/pNFS: Remove dead code
Since commit 2b28a7bee453 ("fs, nfs: convert pnfs_layout_hdr.plh_refcount from atomic_t to refcount_t") it has not been legal to bump a zero refcount, so the code that tries to allow it if the NFS_LSEG_VALID flag is still set would cause trouble. Luckily, NFS_LSEG_VALID has its own refcount so we can never hit this bad code snippet in practice. Remove it to avoid confusion. Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions