]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ext3/inode.c
NFS: Ensure we return zero if applications attempt to write zero bytes
[linux-2.6-omap-h63xx.git] / fs / ext3 / inode.c
index 2f2b6864db10608c412e8eac665f9c30344324d1..9b162cd6c16c170ce7c35c3fc2f993ccc648cbc3 100644 (file)
@@ -1028,7 +1028,7 @@ struct buffer_head *ext3_getblk(handle_t *handle, struct inode *inode,
                }
                if (buffer_new(&dummy)) {
                        J_ASSERT(create != 0);
-                       J_ASSERT(handle != 0);
+                       J_ASSERT(handle != NULL);
 
                        /*
                         * Now that we do not always journal data, we should
@@ -2954,7 +2954,7 @@ int ext3_write_inode(struct inode *inode, int wait)
                return 0;
 
        if (ext3_journal_current_handle()) {
-               jbd_debug(0, "called recursively, non-PF_MEMALLOC!\n");
+               jbd_debug(1, "called recursively, non-PF_MEMALLOC!\n");
                dump_stack();
                return -EIO;
        }