]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/reiserfs/stree.c
Merge tag 'zonefs-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal...
[linux.git] / fs / reiserfs / stree.c
index 6051e7bbc2214ae2484392d520da34b3f5854041..8bf88d690729e38e8cb278df108adcbb06d882e7 100644 (file)
@@ -2240,7 +2240,8 @@ int reiserfs_insert_item(struct reiserfs_transaction_handle *th,
        /* also releases the path */
        unfix_nodes(&s_ins_balance);
 #ifdef REISERQUOTA_DEBUG
-       reiserfs_debug(th->t_super, REISERFS_DEBUG_CODE,
+       if (inode)
+               reiserfs_debug(th->t_super, REISERFS_DEBUG_CODE,
                       "reiserquota insert_item(): freeing %u id=%u type=%c",
                       quota_bytes, inode->i_uid, head2type(ih));
 #endif