NFSv4: Don't apply change_info4 twice on rename within a directory
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 11 Jan 2017 17:32:26 +0000 (12:32 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 12 Jan 2017 20:51:18 +0000 (15:51 -0500)
commitc733c49c32624f927f443be6dbabb387006bbe42
tree83c9a32ce32d2b9b67b1a80b1efa57e9cfc95863
parent2dfc61736482441993bfb7dfaa971113b53f107c
NFSv4: Don't apply change_info4 twice on rename within a directory

If a file is renamed, but stays in the same directory, we will still receive
2 change_info4 structures describing the change to that directory, but we
only want to apply it once.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c