From 5eec5207bde6358bcdc6d285576600e88d63af16 Mon Sep 17 00:00:00 2001 From: Akinobu Mita Date: Mon, 26 Jun 2006 00:24:37 -0700 Subject: [PATCH] --- yaml --- r: 30181 b: refs/heads/master c: 8e13059a37252c45ab7173a0e4bac05e4a444ab6 h: refs/heads/master i: 30179: e020ff93508aadc6f3727f715f5f7a88a5938afb v: v3 --- [refs] | 2 +- trunk/fs/coda/psdev.c | 2 +- trunk/fs/coda/upcall.c | 2 +- trunk/fs/dcache.c | 2 +- trunk/fs/dquot.c | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 759648f2eb82..96b3d060a371 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 38e13929c391e6964b00840b765ed601a3377d33 +refs/heads/master: 8e13059a37252c45ab7173a0e4bac05e4a444ab6 diff --git a/trunk/fs/coda/psdev.c b/trunk/fs/coda/psdev.c index 6c6771db36da..7caee8d8ea3b 100644 --- a/trunk/fs/coda/psdev.c +++ b/trunk/fs/coda/psdev.c @@ -259,7 +259,7 @@ static ssize_t coda_psdev_read(struct file * file, char __user * buf, /* If request was not a signal, enqueue and don't free */ if (!(req->uc_flags & REQ_ASYNC)) { req->uc_flags |= REQ_READ; - list_add(&(req->uc_chain), vcp->vc_processing.prev); + list_add_tail(&(req->uc_chain), &vcp->vc_processing); goto out; } diff --git a/trunk/fs/coda/upcall.c b/trunk/fs/coda/upcall.c index b040eba13a7d..a5b5e631ba61 100644 --- a/trunk/fs/coda/upcall.c +++ b/trunk/fs/coda/upcall.c @@ -725,7 +725,7 @@ static int coda_upcall(struct coda_sb_info *sbi, ((union inputArgs *)buffer)->ih.unique = req->uc_unique; /* Append msg to pending queue and poke Venus. */ - list_add(&(req->uc_chain), vcommp->vc_pending.prev); + list_add_tail(&(req->uc_chain), &vcommp->vc_pending); wake_up_interruptible(&vcommp->vc_waitq); /* We can be interrupted while we wait for Venus to process diff --git a/trunk/fs/dcache.c b/trunk/fs/dcache.c index b85fda360533..6aa635fbfa0a 100644 --- a/trunk/fs/dcache.c +++ b/trunk/fs/dcache.c @@ -638,7 +638,7 @@ static int select_parent(struct dentry * parent) * of the unused list for prune_dcache */ if (!atomic_read(&dentry->d_count)) { - list_add(&dentry->d_lru, dentry_unused.prev); + list_add_tail(&dentry->d_lru, &dentry_unused); dentry_stat.nr_unused++; found++; } diff --git a/trunk/fs/dquot.c b/trunk/fs/dquot.c index 81d87a413c68..0122a279106a 100644 --- a/trunk/fs/dquot.c +++ b/trunk/fs/dquot.c @@ -250,7 +250,7 @@ static inline struct dquot *find_dquot(unsigned int hashent, struct super_block /* Add a dquot to the tail of the free list */ static inline void put_dquot_last(struct dquot *dquot) { - list_add(&dquot->dq_free, free_dquots.prev); + list_add_tail(&dquot->dq_free, &free_dquots); dqstats.free_dquots++; } @@ -266,7 +266,7 @@ static inline void put_inuse(struct dquot *dquot) { /* We add to the back of inuse list so we don't have to restart * when traversing this list and we block */ - list_add(&dquot->dq_inuse, inuse_list.prev); + list_add_tail(&dquot->dq_inuse, &inuse_list); dqstats.allocated_dquots++; }