rpms/kernel/devel linux-2.6.3-printopen.patch,1.12,1.13

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Mar 22 21:38:05 UTC 2005


Update of /cvs/dist/rpms/kernel/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv25984

Modified Files:
	linux-2.6.3-printopen.patch 
Log Message:
fix compile


linux-2.6.3-printopen.patch:
 linux-2.6.11/fs/namei.c            |   12 ++++++++++++
 linux-2.6.11/fs/open.c             |   26 +++++++++++++++++++++++++-
 linux-2999/fs/exec.c               |   10 ++++++++++
 linux-2999/fs/namei.c              |    8 ++++++++
 linux-2999/fs/open.c               |   11 +++++++++++
 linux-2999/include/linux/jiffies.h |    2 +-
 6 files changed, 67 insertions(+), 2 deletions(-)

Index: linux-2.6.3-printopen.patch
===================================================================
RCS file: /cvs/dist/rpms/kernel/devel/linux-2.6.3-printopen.patch,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- linux-2.6.3-printopen.patch	22 Mar 2005 21:21:57 -0000	1.12
+++ linux-2.6.3-printopen.patch	22 Mar 2005 21:38:02 -0000	1.13
@@ -114,13 +114,13 @@
  
 +	{
 +		static unsigned long prev_jiffies;
-+		static char buf[1024];
-+		char *p;
-+		p = d_path(f->f_dentry, f->f_vfsmnt, buf, 1023);
++		//static char buf[1024];
++		//char *p;
++		//p = d_path(f->f_dentry, f->f_vfsmnt, buf, 1023);
 +		if (jiffies < 600 * HZ)
 +			printk(KERN_ERR "[%2d.%02d] [+%2d.%02d] %s link_path_walk()'d %s\n", jiffies / HZ, jiffies % HZ,
 +				(jiffies-prev_jiffies)/HZ, (jiffies-prev_jiffies) % HZ,
-+				current->comm, p);
++				current->comm, name);
 +		prev_jiffies = jiffies;
 +	}
 +




More information about the fedora-cvs-commits mailing list