[PATCH 3/3] rpdfs: Add debugging for block not found case in rpdfs_use_txn_prepared
Valerie Aurora <[email protected]> Thu, 19 Mar 2026 10:37:27 +0100
| Newsgroups | dev.linux.lists.rpdfs-devel |
|---|---|
| Message-ID | <[email protected]> |
Add a bnr debug print for the case of calling rpdfs_use_txn_prepared on a non-existent block. Signed-off-by: Valerie Aurora <[email protected]> --- fs/rpdfs/txn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/rpdfs/txn.c b/fs/rpdfs/txn.c index ffb6402877bf..c7b430de77af 100644 --- a/fs/rpdfs/txn.c +++ b/fs/rpdfs/txn.c @@ -444,6 +444,7 @@ int rpdfs_txn_use_prepared(struct rpdfs_fs_info *rfi, struct rpdfs_transaction * tblk = get_tblk(&txn->blocks, bnr, 0, false); if (WARN_ON_ONCE(IS_ERR_OR_NULL(tblk))) { + rpdfs_prd("bnr %llu", bnr); ret = -EINVAL; goto out; } -- 2.49.0