linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] AFS:  Use the shorter LIST_HEAD for brevity.
@ 2008-03-23 13:52 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2008-03-23 13:52 UTC (permalink / raw)
  To: linux-fsdevel; +Cc: Alexander Viro, Andrew Morton


Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  the MAINTAINERS file doesn't have an entry for AFS.

diff --git a/fs/afs/cell.c b/fs/afs/cell.c
index 970d38f..b4a09ab 100644
--- a/fs/afs/cell.c
+++ b/fs/afs/cell.c
@@ -20,7 +20,7 @@
 DECLARE_RWSEM(afs_proc_cells_sem);
 LIST_HEAD(afs_proc_cells);

-static struct list_head afs_cells = LIST_HEAD_INIT(afs_cells);
+static LIST_HEAD(afs_cells);
 static DEFINE_RWLOCK(afs_cells_lock);
 static DECLARE_RWSEM(afs_cells_sem); /* add/remove serialisation */
 static DECLARE_WAIT_QUEUE_HEAD(afs_cells_freeable_wq);
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================

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

only message in thread, other threads:[~2008-03-23 13:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-23 13:52 [PATCH] AFS: Use the shorter LIST_HEAD for brevity Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).