patch-2.4.22 linux-2.4.22/fs/read_write.c

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

diff -urN linux-2.4.21/fs/read_write.c linux-2.4.22/fs/read_write.c
@@ -322,7 +322,7 @@
 	/* VERIFY_WRITE actually means a read, as we write to user space */
 	if ((ret + (type == VERIFY_WRITE)) > 0)
 		dnotify_parent(file->f_dentry,
-			(type == VERIFY_WRITE) ? DN_MODIFY : DN_ACCESS);
+			(type == VERIFY_WRITE) ? DN_ACCESS : DN_MODIFY);
 	return ret;
 }
 

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