]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Fix wrong directory attributes after rename
authorPavel Shilovsky <pshilovsky@samba.org>
Mon, 18 Aug 2014 16:49:58 +0000 (20:49 +0400)
committerSteve French <smfrench@gmail.com>
Sun, 17 Aug 2014 10:08:46 +0000 (05:08 -0500)
commit4f7f12570f1ba43a90f11c3e49a416cd446330b3
treef519d2ee068849666edb8d563af7a711020ec6ff
parent3007bef2c73a3e7b585c4a70adfc2ea891a41ceb
CIFS: Fix wrong directory attributes after rename

When we requests rename we also need to update attributes
of both source and target parent directories. Not doing it
causes generic/309 xfstest to fail on SMB2 mounts. Fix this
by marking these directories for force revalidating.

Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/inode.c