Andy Adamson 293b3b065c NFSv4.1 do not send LAYOUTRETURN on emtpy plh_segs list
mark_matching_lsegs_invalid() resets the mds_threshold counters and can
dereference the layout hdr on an initial empty plh_segs list. It returns 0 both
in the case of an initial empty list and in a non-emtpy list that was cleared
by calls to mark_lseg_invalid.

Don't send a LAYOUTRETURN if the list was initially empty.

Signed-off-by: Andy Adamson <andros@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2012-07-16 14:39:00 -04:00
..
2012-05-04 14:59:51 -04:00
2012-06-29 11:46:46 -04:00
2012-06-29 11:46:44 -04:00
2012-06-29 11:46:45 -04:00
2012-06-28 17:20:51 -04:00
2012-05-14 17:42:22 -07:00
2012-03-11 15:14:16 -04:00
2012-05-22 16:45:42 -04:00