]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Wed, 17 Sep 2014 15:06:54 +0000 (17:06 +0200)
commitb80e6456dd0c3fa884e5d56c8ea8fd55f6ffe3ad
tree6e629a83509761ba1d4a0d022f53b36c2bfacb55
parent897ebdd35fad90a475e34e30b0660809347f511f
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: Jiri Slaby <jslaby@suse.cz>
fs/cifs/inode.c