summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-11-11 16:31:56 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-11-25 10:15:14 -0800
commita7de608691f766cd148971a71d4f13aa1692d4c8 (patch)
treeb828eadd8698660cc6471521db44feaaa684daf4 /fs/f2fs/f2fs.h
parent3c62be17d4f562f43fe1d03b48194399caa35aa5 (diff)
downloadop-kernel-dev-a7de608691f766cd148971a71d4f13aa1692d4c8.zip
op-kernel-dev-a7de608691f766cd148971a71d4f13aa1692d4c8.tar.gz
f2fs: use err for f2fs_preallocate_blocks
This patch has no functional change. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 96221b1..a1dcc60 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -2160,7 +2160,7 @@ void f2fs_update_data_blkaddr(struct dnode_of_data *, block_t);
int reserve_new_blocks(struct dnode_of_data *, blkcnt_t);
int reserve_new_block(struct dnode_of_data *);
int f2fs_get_block(struct dnode_of_data *, pgoff_t);
-ssize_t f2fs_preallocate_blocks(struct kiocb *, struct iov_iter *);
+int f2fs_preallocate_blocks(struct kiocb *, struct iov_iter *);
int f2fs_reserve_block(struct dnode_of_data *, pgoff_t);
struct page *get_read_data_page(struct inode *, pgoff_t, int, bool);
struct page *find_data_page(struct inode *, pgoff_t);
OpenPOWER on IntegriCloud