]> git.karo-electronics.de Git - karo-tx-linux.git/commit
CIFS: Fix DFS handling in cifs_get_file_info
authorPavel Shilovsky <piastry@etersoft.ru>
Sat, 22 Oct 2011 10:37:50 +0000 (14:37 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 11 Nov 2011 17:42:10 +0000 (09:42 -0800)
commit436318f9b483fa56bbecd8316b921f5876eddc14
treed9a1b076261b84b4f6e590203158f500990a0fc8
parent405a281820d8be91ca88d160560770aa6df26679
CIFS: Fix DFS handling in cifs_get_file_info

commit 42274bb22afc3e877ae5abed787b0b09d7dede52 upstream.

We should call cifs_all_info_to_fattr in rc == 0 case only.

Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/cifs/inode.c