Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754110AbZKTRF5 (ORCPT ); Fri, 20 Nov 2009 12:05:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753387AbZKTRF4 (ORCPT ); Fri, 20 Nov 2009 12:05:56 -0500 Received: from mail2.shareable.org ([80.68.89.115]:50876 "EHLO mail2.shareable.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753102AbZKTRF4 (ORCPT ); Fri, 20 Nov 2009 12:05:56 -0500 Date: Fri, 20 Nov 2009 17:05:47 +0000 From: Jamie Lokier To: Jan Blunck Cc: linux-fsdevel@vger.kernel.org, Christoph Hellwig , Alan Cox , Linux-Kernel Mailinglist , Andrew Morton , Thomas Gleixner , jkacur@redhat.com, Arnd Bergmann , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Alexander Viro , Matthew Wilcox Subject: Re: [PATCH 01/15] Introduce noop_llseek() Message-ID: <20091120170547.GF20634@shareable.org> References: <1258735245-25826-1-git-send-email-jblunck@suse.de> <1258735245-25826-2-git-send-email-jblunck@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1258735245-25826-2-git-send-email-jblunck@suse.de> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 631 Lines: 15 Jan Blunck wrote: > The noop_llseek() is a llseek() operation that filesystems can use that > don't want to support seeking (leave the file->f_pos untouched) but still > want to let the syscall itself to succeed. This is weird behaviour: if you want to allow llseek() to succeed but don't really support seeking, why does the device even care about the value of file->f_pos? -- Jamie -- 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/