Clear iobuf->dr_error between two uses.
b=11722
i=green
i=adilger
* bug fixes
Severity : normal
+Frequency : rare
+Bugzilla : 11722
+Description: Transient SCSI error results in persistent IO issue
+Details : iobuf->dr_error is not reinitialized to 0 between two
+ uses.
+
+Severity : normal
Frequency : SLES10 only
Bugzilla : 12538
Description: sanity-quota.sh quotacheck failed: rc = -22
spin_lock_init(&iobuf->dr_lock);
iobuf->dr_max_pages = num_pages;
iobuf->dr_npages = 0;
+ iobuf->dr_error = 0;
RETURN(iobuf);
static void filter_clear_iobuf(struct filter_iobuf *iobuf)
{
iobuf->dr_npages = 0;
+ iobuf->dr_error = 0;
atomic_set(&iobuf->dr_numreqs, 0);
}