From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH] fs: replace int param with size_t for seq_open_private() Date: Mon, 1 Sep 2014 16:36:38 +0100 Message-ID: <20140901153637.GI7996@ZenIV.linux.org.uk> References: <1409577428-16148-1-git-send-email-rob.jones@codethink.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@codethink.co.uk To: Rob Jones Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:41171 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754054AbaIAPgk (ORCPT ); Mon, 1 Sep 2014 11:36:40 -0400 Content-Disposition: inline In-Reply-To: <1409577428-16148-1-git-send-email-rob.jones@codethink.co.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Sep 01, 2014 at 02:17:08PM +0100, Rob Jones wrote: > void *__seq_open_private(struct file *f, const struct seq_operations *ops, > - int psize) > + size_t psize) It is a horrible limitation to impose, indeed. Why, a lousy 2 gigabytes per line in procfs file - that's intolerable...