Tag: 31b1a2bd758f439fc945b3ac5899d890cb7e2dc6

fs/btrfs: use WARN

Author: Julia Lawall <Julia.Lawall@lip6.fr> Use WARN rather than printk followed by WARN_ON(1), for conciseness. A simplified version of the semantic patch that makes this transformation is as follows: (http://coccinelle.lip6.fr/) // @@ expression list es; @@ -printk( +WARN(1, es); -WARN_ON(1); // Signed-off-by: Julia Lawall Reviewed-by: David Sterba Signed-off-by: Chris Mason — fs/btrfs/ctree.c | 19 +++++++———— fs/btrfs/disk-io.c …

Continue reading