CIFS: Fix wrong directory attributes after rename
authorPavel Shilovsky <pshilovsky@samba.org>
Mon, 18 Aug 2014 16:49:58 +0000 (20:49 +0400)
committerZefan Li <lizefan@huawei.com>
Thu, 25 Sep 2014 03:49:11 +0000 (11:49 +0800)
commitd06e4b08aa764b2999b6a67f1cf2b7794ae5b0e1
tree65783bdbf7d8adb45b2701b0bdf6e72c68c14cc7
parenta0e5b9d2c3cdaf1f980409ec1a84db22abfd6958
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: Zefan Li <lizefan@huawei.com>
fs/cifs/inode.c