]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
CIFS: Fix wrong restart readdir for SMB1
authorPavel Shilovsky <pshilovsky@samba.org>
Tue, 26 Aug 2014 15:04:44 +0000 (19:04 +0400)
committerJiri Slaby <jslaby@suse.cz>
Wed, 17 Sep 2014 20:54:13 +0000 (22:54 +0200)
commit825196496f0fb1f575fcff42b5923cdc68333d0f
tree410939413eb8b496f13f59f1fba51c7290f8b05c
parent47770ac167aec89d4743afee133ef9f6609ce768
CIFS: Fix wrong restart readdir for SMB1

commit f736906a7669a77cf8cabdcbcf1dc8cb694e12ef upstream.

The existing code calls server->ops->close() that is not
right. This causes XFS test generic/310 to fail. Fix this
by using server->ops->closedir() function.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
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/readdir.c