rfs3_readdir()/rfs3_readdirplus(): Duplicate vattr_to_post_op_attr() call
There are duplicate
vattr_to_post_op_attr() calls at the end of
rfs3_readdirplus(). The second one could be safely removed.
Updated by Dan McDonald about 1 year ago
NOTE that "at the end" can be stated more specifically as "in sections that are essentially basic-blocks", namely the "out1:" goto labels of these two functions. There's no looping or other trickery than can make this happen. And the input parameter "vap" doesn't change over the course of this block, so the two calls are idempotent.
These duplicates were introduced by accident from the nfs-zone work (#11083).
Updated by Electric Monk about 1 year ago
- Status changed from Pending RTI to Closed
- % Done changed from 0 to 100
commit d5cb55e4df73e14ab5a6a4266b32230c8e73e54e Author: Marcel Telka <firstname.lastname@example.org> Date: 2020-02-11T14:40:12.000Z 12294 rfs3_readdir()/rfs3_readdirplus(): Duplicate vattr_to_post_op_attr() call Reviewed by: Vitaliy Gusev <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>