+8
−0
Loading
Currently, getting a directory delegation is opportinistic and gets added to an existing GETATTR that's trying to retrieve some needed attributes. However, GET_DIRDELEGATION can fail and that currently causes a GETATTR to fail and an error is propagated to the user. Instead, the original GETATTR should be retried without requesting a directory delegation. Also, now chosing to clear asking for the direct delegation for this specific inode. Fixes: 156b0948 ("NFS: Request a directory delegation on ACCESS, CREATE, and UNLINK") Signed-off-by:Olga Kornievskaia <okorniev@redhat.com> Signed-off-by:
Trond Myklebust <trond.myklebust@hammerspace.com>