Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752688AbZGWCfU (ORCPT ); Wed, 22 Jul 2009 22:35:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751898AbZGWCfT (ORCPT ); Wed, 22 Jul 2009 22:35:19 -0400 Received: from fgwmail6.fujitsu.co.jp ([192.51.44.36]:37630 "EHLO fgwmail6.fujitsu.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750865AbZGWCfR (ORCPT ); Wed, 22 Jul 2009 22:35:17 -0400 X-SecurityPolicyCheck-FJ: OK by FujitsuOutboundMailChecker v1.3.1 Date: Thu, 23 Jul 2009 11:33:20 +0900 From: KAMEZAWA Hiroyuki To: Oren Laadan Cc: Andrew Morton , linux-api@vger.kernel.org, containers@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Dave Hansen , linux-mm@kvack.org, Linus Torvalds , Alexander Viro , "H. Peter Anvin" , Ingo Molnar , Alexey Dobriyan , Pavel Emelyanov Subject: Re: [RFC v17][PATCH 10/60] c/r: make file_pos_read/write() public Message-Id: <20090723113320.65f6746d.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <1248256822-23416-11-git-send-email-orenl@librato.com> References: <1248256822-23416-1-git-send-email-orenl@librato.com> <1248256822-23416-11-git-send-email-orenl@librato.com> Organization: FUJITSU Co. LTD. X-Mailer: Sylpheed 2.5.0 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 732 Lines: 31 a nitpick. On Wed, 22 Jul 2009 05:59:32 -0400 Oren Laadan wrote: > These two are used in the next patch when calling vfs_read/write() > +static inline loff_t file_pos_read(struct file *file) > +{ > + return file->f_pos; > +} > + > +static inline void file_pos_write(struct file *file, loff_t pos) > +{ > + file->f_pos = pos; > +} > + I'm not sure but how about renaming this to file_pos() set_file_pos() at moving this to global include file ? Thanks, -Kame -- 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/