patch-2.4.22 linux-2.4.22/fs/ncpfs/inode.c

Next file: linux-2.4.22/fs/nfs/Makefile
Previous file: linux-2.4.22/fs/namei.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/fs/ncpfs/inode.c linux-2.4.22/fs/ncpfs/inode.c
@@ -651,7 +651,7 @@
 	if ((attr->ia_valid & ATTR_ATIME) != 0) {
 		__u16 dummy;
 		info_mask |= (DM_LAST_ACCESS_DATE);
-		ncp_date_unix2dos(attr->ia_ctime,
+		ncp_date_unix2dos(attr->ia_atime,
 				  &(dummy), &(info.lastAccessDate));
 		info.lastAccessDate = le16_to_cpu(info.lastAccessDate);
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)