The patch titled
     kernel/user.c: Use list_for_each_entry instead of list_for_each
has been removed from the -mm tree.  Its filename was
     kernel-userc-use-list_for_each_entry-instead-of-list_for_each.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: kernel/user.c: Use list_for_each_entry instead of list_for_each
From: Matthias Kaehlcke <[EMAIL PROTECTED]>

kernel/user.c: Convert list_for_each to list_for_each_entry in
uid_hash_find()

Signed-off-by: Matthias Kaehlcke <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 kernel/user.c |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff -puN 
kernel/user.c~kernel-userc-use-list_for_each_entry-instead-of-list_for_each 
kernel/user.c
--- 
a/kernel/user.c~kernel-userc-use-list_for_each_entry-instead-of-list_for_each
+++ a/kernel/user.c
@@ -67,13 +67,9 @@ static inline void uid_hash_remove(struc
 
 static inline struct user_struct *uid_hash_find(uid_t uid, struct list_head 
*hashent)
 {
-       struct list_head *up;
-
-       list_for_each(up, hashent) {
-               struct user_struct *user;
-
-               user = list_entry(up, struct user_struct, uidhash_list);
+       struct user_struct *user;
 
+       list_for_each_entry(user, hashent, uidhash_list) {
                if(user->uid == uid) {
                        atomic_inc(&user->__count);
                        return user;
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

git-alsa.patch
generic-ac97-mixer-modem-oss-use-list_for_each_entry.patch
git-dvb.patch
git-mtd.patch
git-net.patch
git-sched.patch
use-mutex-instead-of-semaphore-in-the-onstream-scsi-tape-driver.patch
use-mutex-instead-of-semaphore-in-isdn-subsystem-common-functions.patch
fs-file_tablec-use-list_for_each_entry-instead-of-list_for_each.patch
fs-eventpollc-use-list_for_each_entry-instead-of-list_for_each.patch
fs-superc-use-list_for_each_entry-instead-of-list_for_each.patch
fs-superc-use-list_for_each_entry-instead-of-list_for_each-fix.patch
fs-locksc-use-list_for_each_entry-instead-of-list_for_each.patch
kernel-exitc-use-list_for_each_entry_safe-instead-of-list_for_each_safe.patch
kernel-time-clocksourcec-use-list_for_each_entry-instead-of-list_for_each.patch
mm-oom_killc-use-list_for_each_entry-instead-of-list_for_each.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to