CIFS: Fix wrong directory attributes after rename
authorPavel Shilovsky <pshilovsky@samba.org>
Mon, 18 Aug 2014 16:49:58 +0000 (20:49 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Sep 2014 16:04:01 +0000 (09:04 -0700)
commit4cf2ef68d23fcdea34b72325af7b9ac5f35f52ef
treedf7cf87ef30100752975f51369cadeb273016f2a
parentc6bef3b64c1e605f4059189153de3251855846b9
CIFS: Fix wrong directory attributes after rename

commit b46799a8f28c43c5264ac8d8ffa28b311b557e03 upstream.

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.

Signed-off-by: Pavel Shilovsky <pshilovsky@samba.org>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/inode.c