common.c (9a1f3049f47330b2467b9eecfc3a3298c46592d1) | common.c (75efa57d0bf5fcf650a183f0ce0dc011ba8c4bc8) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 195 unchanged lines hidden (view full) --- 204xchk_ino_set_preen( 205 struct xfs_scrub *sc, 206 xfs_ino_t ino) 207{ 208 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_PREEN; 209 trace_xchk_ino_preen(sc, ino, __return_address); 210} 211 | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Copyright (C) 2017 Oracle. All Rights Reserved. 4 * Author: Darrick J. Wong <darrick.wong@oracle.com> 5 */ 6#include "xfs.h" 7#include "xfs_fs.h" 8#include "xfs_shared.h" --- 195 unchanged lines hidden (view full) --- 204xchk_ino_set_preen( 205 struct xfs_scrub *sc, 206 xfs_ino_t ino) 207{ 208 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_PREEN; 209 trace_xchk_ino_preen(sc, ino, __return_address); 210} 211 |
212/* Record something being wrong with the filesystem primary superblock. */ 213void 214xchk_set_corrupt( 215 struct xfs_scrub *sc) 216{ 217 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; 218 trace_xchk_fs_error(sc, 0, __return_address); 219} 220 |
|
212/* Record a corrupt block. */ 213void 214xchk_block_set_corrupt( 215 struct xfs_scrub *sc, 216 struct xfs_buf *bp) 217{ 218 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; 219 trace_xchk_block_error(sc, bp->b_bn, __return_address); --- 695 unchanged lines hidden --- | 221/* Record a corrupt block. */ 222void 223xchk_block_set_corrupt( 224 struct xfs_scrub *sc, 225 struct xfs_buf *bp) 226{ 227 sc->sm->sm_flags |= XFS_SCRUB_OFLAG_CORRUPT; 228 trace_xchk_block_error(sc, bp->b_bn, __return_address); --- 695 unchanged lines hidden --- |