mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
285e0fc95a
We may someday support folios larger than 4GB, so use a size_t for the byte count within a folio to prevent unpleasant truncations. Link: https://lkml.kernel.org/r/20230612210141.730128-6-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Tested-by: Bob Peterson <rpeterso@redhat.com> Reviewed-by: Bob Peterson <rpeterso@redhat.com> Reviewed-by: Andreas Gruenbacher <agruenba@redhat.com> Cc: Hannes Reinecke <hare@suse.com> Cc: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
16 lines
366 B
C
16 lines
366 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2018 Red Hat, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __AOPS_DOT_H__
|
|
#define __AOPS_DOT_H__
|
|
|
|
#include "incore.h"
|
|
|
|
extern void adjust_fs_space(struct inode *inode);
|
|
extern void gfs2_trans_add_databufs(struct gfs2_inode *ip, struct folio *folio,
|
|
size_t from, size_t len);
|
|
|
|
#endif /* __AOPS_DOT_H__ */
|