summaryrefslogtreecommitdiff
path: root/fs/gfs2/inode.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2023-07-24 21:53:14 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2023-11-06 03:51:26 +0300
commitbe7f6a6b0bca708999eef4f8e9f2b128c73b9e17 (patch)
tree585cffb9994d3e235adec1cc66849287ca6a4d77 /fs/gfs2/inode.h
parent7fa4964b35e4046cae1c7d8b42f631ffd898701d (diff)
downloadlinux-be7f6a6b0bca708999eef4f8e9f2b128c73b9e17.tar.xz
gfs2: Convert gfs2_internal_read to folios
Change gfs2_internal_read() to use folios. Convert sizes to size_t. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.h')
-rw-r--r--fs/gfs2/inode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/inode.h b/fs/gfs2/inode.h
index 908c739220b8..041b93367002 100644
--- a/fs/gfs2/inode.h
+++ b/fs/gfs2/inode.h
@@ -13,8 +13,8 @@
#include "util.h"
bool gfs2_release_folio(struct folio *folio, gfp_t gfp_mask);
-extern int gfs2_internal_read(struct gfs2_inode *ip,
- char *buf, loff_t *pos, unsigned size);
+extern ssize_t gfs2_internal_read(struct gfs2_inode *ip,
+ char *buf, loff_t *pos, size_t size);
extern void gfs2_set_aops(struct inode *inode);
static inline int gfs2_is_stuffed(const struct gfs2_inode *ip)