Commit 0fae490d authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Parenthesisation fix in jffs

From: Ravikiran G Thirumalai <kiran@in.ibm.com>

Fix parenthesisation in a combined assign-and-check-error statement.
parent 12bac367
...@@ -1908,7 +1908,7 @@ jffs_write_node(struct jffs_control *c, struct jffs_node *node, ...@@ -1908,7 +1908,7 @@ jffs_write_node(struct jffs_control *c, struct jffs_node *node,
} }
if ((err = flash_safe_writev(fmc->mtd, node_iovec, iovec_cnt, if ((err = flash_safe_writev(fmc->mtd, node_iovec, iovec_cnt,
pos) < 0)) { pos)) < 0) {
jffs_fmfree_partly(fmc, fm, 0); jffs_fmfree_partly(fmc, fm, 0);
jffs_fm_write_unlock(fmc); jffs_fm_write_unlock(fmc);
printk(KERN_ERR "JFFS: jffs_write_node: Failed to write, " printk(KERN_ERR "JFFS: jffs_write_node: Failed to write, "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment