]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5b9ab4d2be7069827788c45adfee012aed7af642
tree83c9a32ce32d2b9b67b1a80b1efa57e9cfc95863
parent5fb5c5d77d6d2406f344f1049d04a591fa311553
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