]> err.no Git - linux-2.6/blobdiff - fs/jbd/transaction.c
jbd: replace potentially false assertion with if block
[linux-2.6] / fs / jbd / transaction.c
index d8dd3d915fd9311d57288f3b6b54bae93d385108..67ff2024c23c7d21950407ce8dfea088a090f1c4 100644 (file)
@@ -687,7 +687,7 @@ repeat:
                                if (!frozen_buffer) {
                                        printk(KERN_EMERG
                                               "%s: OOM for frozen_buffer\n",
-                                              __FUNCTION__);
+                                              __func__);
                                        JBUFFER_TRACE(jh, "oom!");
                                        error = -ENOMEM;
                                        jbd_lock_bh_state(bh);
@@ -904,7 +904,7 @@ repeat:
                committed_data = jbd_alloc(jh2bh(jh)->b_size, GFP_NOFS);
                if (!committed_data) {
                        printk(KERN_EMERG "%s: No memory for committed data\n",
-                               __FUNCTION__);
+                               __func__);
                        err = -ENOMEM;
                        goto out;
                }