]> 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)
commitfd705ae515a6700f19aae135b911d18d3fcd4010
tree83c9a32ce32d2b9b67b1a80b1efa57e9cfc95863
parentf2512fcbca4da5cfe56fcb517687dd39570b2512
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