diff options
Diffstat (limited to 'libbcachefs/journal.h')
-rw-r--r-- | libbcachefs/journal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/journal.h b/libbcachefs/journal.h index 51d29a01..896a2d7d 100644 --- a/libbcachefs/journal.h +++ b/libbcachefs/journal.h @@ -479,7 +479,7 @@ static inline int bch2_journal_preres_get(struct journal *j, return 0; if (flags & JOURNAL_RES_GET_NONBLOCK) - return -EAGAIN; + return -BCH_ERR_journal_preres_get_blocked; return __bch2_journal_preres_get(j, res, new_u64s, flags); } |