Commit 688b2251 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] jffs aops return type fix

From: "Randy.Dunlap" <rddunlap@osdl.org>

prepare_write() and commit_write() return `int'.

Fixes an ia64 compile warning.
parent ec61dbaf
...@@ -1532,7 +1532,7 @@ jffs_file_write(struct file *filp, const char *buf, size_t count, ...@@ -1532,7 +1532,7 @@ jffs_file_write(struct file *filp, const char *buf, size_t count,
return err; return err;
} /* jffs_file_write() */ } /* jffs_file_write() */
static ssize_t static int
jffs_prepare_write(struct file *filp, struct page *page, jffs_prepare_write(struct file *filp, struct page *page,
unsigned from, unsigned to) unsigned from, unsigned to)
{ {
...@@ -1545,7 +1545,7 @@ jffs_prepare_write(struct file *filp, struct page *page, ...@@ -1545,7 +1545,7 @@ jffs_prepare_write(struct file *filp, struct page *page,
return 0; return 0;
} /* jffs_prepare_write() */ } /* jffs_prepare_write() */
static ssize_t static int
jffs_commit_write(struct file *filp, struct page *page, jffs_commit_write(struct file *filp, struct page *page,
unsigned from, unsigned to) unsigned from, unsigned to)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment