All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/gfs-kernel/src/gfs proc.c
@ 2006-07-18 21:18 rpeterso
  0 siblings, 0 replies; only message in thread
From: rpeterso @ 2006-07-18 21:18 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	rpeterso at sourceware.org	2006-07-18 21:18:48

Modified files:
	gfs-kernel/src/gfs: proc.c 

Log message:
	Rename req_lock to gfs_req_lock to avoid duplicate symbols.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/src/gfs/proc.c.diff?cvsroot=cluster&r1=1.9&r2=1.10

--- cluster/gfs-kernel/src/gfs/proc.c	2006/07/18 20:48:20	1.9
+++ cluster/gfs-kernel/src/gfs/proc.c	2006/07/18 21:18:48	1.10
@@ -32,7 +32,7 @@
 struct semaphore gfs_fs_lock;
 char *gfs_proc_margs;
 spinlock_t gfs_proc_margs_lock;
-spinlock_t req_lock;
+spinlock_t gfs_req_lock;
 
 /**
  * gfs_proc_fs_add - Add a FS to the list of mounted FSs
@@ -357,10 +357,10 @@
 {
 	char *p;
 
-	spin_lock(&req_lock);
+	spin_lock(&gfs_req_lock);
 	p = file->private_data;
 	file->private_data = NULL;
-	spin_unlock(&req_lock);
+	spin_unlock(&gfs_req_lock);
 
 	if (p)
 		kfree(p);
@@ -378,9 +378,9 @@
 		return -EFAULT;
 	}
 
-	spin_lock(&req_lock);
+	spin_lock(&gfs_req_lock);
 	file->private_data = p;
-	spin_unlock(&req_lock);
+	spin_unlock(&gfs_req_lock);
 
 	return size;
 }
@@ -401,10 +401,10 @@
 	char *p;
 	int error;
 
-	spin_lock(&req_lock);
+	spin_lock(&gfs_req_lock);
 	p = file->private_data;
 	file->private_data = NULL;
-	spin_unlock(&req_lock);
+	spin_unlock(&gfs_req_lock);
 
 	if (!p)
 		return -ENOENT;
@@ -472,7 +472,7 @@
 	init_MUTEX(&gfs_fs_lock);
 	gfs_proc_margs = NULL;
 	spin_lock_init(&gfs_proc_margs_lock);
-	spin_lock_init(&req_lock);
+	spin_lock_init(&gfs_req_lock);
 
 	pde = create_proc_entry("fs/gfs", S_IFREG | 0600, NULL);
 	if (!pde)



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-18 21:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-18 21:18 [Cluster-devel] cluster/gfs-kernel/src/gfs proc.c rpeterso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.