patch-1.3.79 linux/fs/ncpfs/dir.c

Next file: linux/fs/nfs/nfsroot.c
Previous file: linux/fs/buffer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.78/linux/fs/ncpfs/dir.c linux/fs/ncpfs/dir.c
@@ -393,7 +393,7 @@
 
 		if (ncp_get_volume_info_with_number(server, i, &info) != 0)
 		{
-			return total_count;
+			return (total_count - fpos);
 		}
 
 		if (strlen(info.volume_name) > 0)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this