patch-1.3.54 linux/fs/nfs/inode.c

Next file: linux/fs/open.c
Previous file: linux/fs/ncpfs/ioctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.53/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -268,13 +268,13 @@
 	else
 		sattr.size = (unsigned) -1;
 
-	if (attr->ia_valid & ATTR_MTIME) {
+	if (attr->ia_valid & ATTR_MTIME_SET) {
 		sattr.mtime.seconds = attr->ia_mtime;
 		sattr.mtime.useconds = 0;
 	} else 
 		sattr.mtime.seconds = sattr.mtime.useconds = (unsigned) -1;
 
-	if (attr->ia_valid & ATTR_ATIME) {
+	if (attr->ia_valid & ATTR_ATIME_SET) {
 		sattr.atime.seconds = attr->ia_atime;
 		sattr.atime.useconds = 0;
 	} else

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