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)
commitb46799a8f28c43c5264ac8d8ffa28b311b557e03
treef519d2ee068849666edb8d563af7a711020ec6ff
parent52755808d4525f4d5b86d112d36ffc7a46f3fb48
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