Trond Myklebust 7c0bbf2d3d 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 <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2021-08-09 16:57:04 -04:00
..
2021-02-26 15:49:51 -07:00
2017-11-17 14:18:00 -08:00
2017-11-17 14:18:00 -08:00
2021-05-07 11:23:41 -07:00
2020-05-27 10:10:12 -04:00
2021-05-07 11:23:41 -07:00
2021-06-29 13:13:34 -04:00
2021-05-07 11:23:41 -07:00
2021-04-05 09:04:20 -04:00
2021-01-24 14:27:20 +01:00
2021-05-07 11:23:41 -07:00
2021-05-07 11:23:41 -07:00
2020-12-17 12:15:03 -08:00
2021-08-09 16:57:04 -04:00