• Kendrick M. Smith's avatar
    [PATCH] kNFSd: NFSv4: wipe out all evidence in fh_put() · e7e42b20
    Kendrick M. Smith authored
    When a filehandle is cleared with fh_put(), wipe out all traces by
    clearing ->fh_pre_saved and ->fh_post_saved.  This prevents
    fill_post_wcc() from complaining if the filehandle is later reused.
    (This could happen in NFSv4 to CURRENT_FH if, for example, LOOKUP LOOKUP
    occurs in a COMPOUND.)
    e7e42b20
nfsfh.c 11.6 KB