patch-2.4.21 linux-2.4.21/fs/jffs/intrep.c

Next file: linux-2.4.21/fs/jffs2/build.c
Previous file: linux-2.4.21/fs/jbd/transaction.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/jffs/intrep.c linux-2.4.21/fs/jffs/intrep.c
@@ -1910,7 +1910,7 @@
 	}
 
 	if ((err = flash_safe_writev(fmc->mtd, node_iovec, iovec_cnt,
-				    pos) < 0)) {
+				    pos)) < 0) {
 		jffs_fmfree_partly(fmc, fm, 0);
 		jffs_fm_write_unlock(fmc);
 		printk(KERN_ERR "JFFS: jffs_write_node: Failed to write, "

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)