From patchwork Wed Jan 28 05:17:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manish Katiyar X-Patchwork-Id: 20564 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 026E0DDFE4 for ; Wed, 28 Jan 2009 16:17:42 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750916AbZA1FRk (ORCPT ); Wed, 28 Jan 2009 00:17:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751037AbZA1FRk (ORCPT ); Wed, 28 Jan 2009 00:17:40 -0500 Received: from ti-out-0910.google.com ([209.85.142.185]:30404 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750916AbZA1FRj (ORCPT ); Wed, 28 Jan 2009 00:17:39 -0500 Received: by ti-out-0910.google.com with SMTP id b6so3428893tic.23 for ; Tue, 27 Jan 2009 21:17:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=fzeLymvYekaJTjHUnc+9oOou/CpOmKAYCXeodA6rqcM=; b=Lxq+BZsbN4TAxjsXJjxPZ8DLz3f9xf+K9oyV3wZAS5cAYS+Q8XP44Bq4PQ1uzx0hku Y5cCidFRXGRgj7o8KH4VXBP1HOs7gOAmt82/b0FYvL2sozR28V1XJsC0iPSkmVN7g63x hCeZCq8Q6G3SA8jyhhH3gnTyRfzSKst8I2cgI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=tk32LLyXY3wRO0QNHZGlRhktm2LrskEyI4rfZzJlJyC4Hbc/DAVKC9D2ctgttzqD92 HZiq6dZLp/p6pLATz6RcgxRnI9Lds0Um6zSKbZBD7KjTlsk6QQGOpzkhhw9z3CETuQBt pNly2mlDVlxk9oIw+8E8AiVfneAllIGup5+To= MIME-Version: 1.0 Received: by 10.110.42.1 with SMTP id p1mr1484949tip.51.1233119857165; Tue, 27 Jan 2009 21:17:37 -0800 (PST) Date: Wed, 28 Jan 2009 10:47:37 +0530 Message-ID: Subject: [PATCH] : Remove incompatible pointer assignment warning in ext4 quota operations From: Manish Katiyar To: "Theodore Ts'o" , ext4 Cc: mkatiyar@gmail.com Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Below patch removes the following warning during compilation : CC [M] fs/ext4/super.o fs/ext4/super.c:949: warning: initialization from incompatible pointer type LD [M] fs/ext4/ext4.o Signed-off-by: Manish Katiyar --- fs/ext4/ext4.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) extern long ext4_ioctl(struct file *, unsigned int, unsigned long); diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 3ab1a41..0164866 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h @@ -1088,7 +1088,7 @@ extern int ext4_chunk_trans_blocks(struct inode *, int nrblocks); extern int ext4_block_truncate_page(handle_t *handle, struct address_space *mapping, loff_t from); extern int ext4_page_mkwrite(struct vm_area_struct *vma, struct page *page); -extern unsigned long long ext4_get_reserved_space(struct inode *inode); +extern qsize_t ext4_get_reserved_space(struct inode *inode); /* ioctl.c */