Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261358AbTEEUt1 (ORCPT ); Mon, 5 May 2003 16:49:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261362AbTEEUt1 (ORCPT ); Mon, 5 May 2003 16:49:27 -0400 Received: from holomorphy.com ([66.224.33.161]:8067 "EHLO holomorphy") by vger.kernel.org with ESMTP id S261358AbTEEUtZ (ORCPT ); Mon, 5 May 2003 16:49:25 -0400 Date: Mon, 5 May 2003 14:01:51 -0700 From: William Lee Irwin III To: Andrew Morton Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: 2.5.69-mm1 Message-ID: <20030505210151.GO8978@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org References: <20030504231650.75881288.akpm@digeo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030504231650.75881288.akpm@digeo.com> Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 32 On Sun, May 04, 2003 at 11:16:50PM -0700, Andrew Morton wrote: > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.5/2.5.69/2.5.69-mm1/ > Various random fixups, cleanps and speedups. Mainly a resync to 2.5.69. fs/file_table.c: In function `fget_light': fs/file_table.c:209: warning: passing arg 1 of `_raw_read_lock' from incompatible pointer type diff -urpN mm1-2.5.69-1/fs/file_table.c mm1-2.5.69-2/fs/file_table.c --- mm1-2.5.69-1/fs/file_table.c 2003-05-05 13:32:43.000000000 -0700 +++ mm1-2.5.69-2/fs/file_table.c 2003-05-05 13:38:39.000000000 -0700 @@ -206,13 +206,13 @@ struct file *fget_light(unsigned int fd, if (likely((atomic_read(&files->count) == 1))) { file = fcheck(fd); } else { - read_lock(&files->file_lock); + spin_lock(&files->file_lock); file = fcheck(fd); if (file) { get_file(file); *fput_needed = 1; } - read_unlock(&files->file_lock); + spin_unlock(&files->file_lock); } return file; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/