f2fs.h (44958ca9e400f57bd0478115519ffc350fcee61e) f2fs.h (72aa369e4e624b6d4e92ec236f8bbf92d86fb903)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/f2fs.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#ifndef _LINUX_F2FS_H

--- 4582 unchanged lines hidden (view full) ---

4591 return fsverity_active(inode) &&
4592 idx < DIV_ROUND_UP(inode->i_size, PAGE_SIZE);
4593}
4594
4595#ifdef CONFIG_F2FS_FAULT_INJECTION
4596extern int f2fs_build_fault_attr(struct f2fs_sb_info *sbi, unsigned long rate,
4597 unsigned long type);
4598#else
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * fs/f2fs/f2fs.h
4 *
5 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com/
7 */
8#ifndef _LINUX_F2FS_H

--- 4582 unchanged lines hidden (view full) ---

4591 return fsverity_active(inode) &&
4592 idx < DIV_ROUND_UP(inode->i_size, PAGE_SIZE);
4593}
4594
4595#ifdef CONFIG_F2FS_FAULT_INJECTION
4596extern int f2fs_build_fault_attr(struct f2fs_sb_info *sbi, unsigned long rate,
4597 unsigned long type);
4598#else
4599static int f2fs_build_fault_attr(struct f2fs_sb_info *sbi, unsigned long rate,
4600 unsigned long type)
4599static inline int f2fs_build_fault_attr(struct f2fs_sb_info *sbi,
4600 unsigned long rate, unsigned long type)
4601{
4602 return 0;
4603}
4604#endif
4605
4606static inline bool is_journalled_quota(struct f2fs_sb_info *sbi)
4607{
4608#ifdef CONFIG_QUOTA

--- 78 unchanged lines hidden ---
4601{
4602 return 0;
4603}
4604#endif
4605
4606static inline bool is_journalled_quota(struct f2fs_sb_info *sbi)
4607{
4608#ifdef CONFIG_QUOTA

--- 78 unchanged lines hidden ---