diff mbox

: Remove incompatible pointer assignment warning in ext4 quota operations

Message ID ea11fea30901272117j760a34e8w5df0ec1916632f3f@mail.gmail.com
State Not Applicable, archived
Headers show

Commit Message

Manish Katiyar Jan. 28, 2009, 5:17 a.m. UTC
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 <mkatiyar@gmail.com>
---
 fs/ext4/ext4.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

 extern long ext4_ioctl(struct file *, unsigned int, unsigned long);
diff mbox

Patch

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 */