]> www.infradead.org Git - users/jedix/linux-maple.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)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Thu, 8 Dec 2011 19:17:41 +0000 (11:17 -0800)
commit93e554f0a9404e1b2f52c179c6558bbff5279184
tree3eac862a9772c49b6f2366838a10ef9a8fdded7e
parentbdcd4377496da1d72b975ebe9583d119c503075b
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