diff options
author | 2013-02-01 20:07:21 -0500 | |
---|---|---|
committer | 2013-02-01 20:07:21 -0500 | |
commit | 524c19ebc961799b1ec126e4b063b941a70275e5 (patch) | |
tree | 7307132472ee3f01fae5d04cdce66bc84dfa3b87 /fs/jbd2/commit.c | |
parent | jbd2: don't wake kjournald unnecessarily (diff) | |
download | linux-dev-524c19ebc961799b1ec126e4b063b941a70275e5.tar.xz linux-dev-524c19ebc961799b1ec126e4b063b941a70275e5.zip |
ext4: use WARN in ext4_alloc_blocks
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/)
// <smpl>
@@
expression list es;
@@
-printk(
+WARN(1,
es);
-WARN_ON(1);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions