Skip to contentSkip to conversation

Build error with patchqueue

PATCH Aneesh Kumar K.V 2 participants 2 messages Aug 4, 2008 ext4 file system

lore
Share & tools
lore
#0 lore raw

Hi Ted,

The patchqueue have the below build error.

CC fs/ext4/inode.o
fs/ext4/inode.c: In function ‘ext4_delete_inode’:
fs/ext4/inode.c:230: error: implicit declaration of function ‘ext4_ext_journal_restart’
make[1]: *** [fs/ext4/inode.o] Error 1
make: *** [fs/ext4/] Error 2 kvaneesh@skywalker:/home/opensource/patches/work-tree/linux-review-ext-build$make fs/ext4/

fs/ext4/extents.c +1 -1
index 68f148c..70829d5 100644
@@ -92,7 +92,7 @@ static void ext4_idx_store_pblock(struct ext4_extent_idx *ix, ext4_fsblk_t pb)
 	ix->ei_leaf_hi = cpu_to_le16((unsigned long) ((pb >> 31) >> 1) & 0xffff);
 }
 
-static int ext4_ext_journal_restart(handle_t *handle, int needed)
+int ext4_ext_journal_restart(handle_t *handle, int needed)
 {
 	int err;
 
fs/ext4/inode.c +2 -1
index fe1570d..77ef18b 100644
@@ -190,6 +190,7 @@ static int ext4_journal_test_restart(handle_t *handle, struct inode *inode)
 /*
  * Called at the last iput() if i_nlink is zero.
  */
+int ext4_ext_journal_restart(handle_t *handle, int needed);
 void ext4_delete_inode (struct inode * inode)
 {
 	handle_t *handle;
@@ -228,7 +229,7 @@ void ext4_delete_inode (struct inode * inode)
 	 * the orphan list and set the dtime field.
 	 */
 	if (ext4_ext_journal_restart(handle, 3)) {
-	stop_handle:
+stop_handle:
 		ext4_journal_stop(handle);
 		goto no_delete;
 	}

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

maintainer
#1 lore raw
Quoted 2 lines · Aneesh Kumar K.V

The patchqueue have the below build error.

Sorry about that! I forgot to push out the fix to that. I've just updated the patch queue with the fix-ups to the patches before I pushed to Linus and released 2.6.26-rc1-ext4-1/2.6.26-ext4-5.

- Ted