diff options
| author | Julia Lawall <[email protected]> | 2013-02-02 01:07:21 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2013-02-02 01:07:21 +0000 |
| commit | 524c19ebc961799b1ec126e4b063b941a70275e5 (patch) | |
| tree | 7307132472ee3f01fae5d04cdce66bc84dfa3b87 /fs/jbd2/commit.c | |
| parent | jbd2: don't wake kjournald unnecessarily (diff) | |
| download | kernel-524c19ebc961799b1ec126e4b063b941a70275e5.tar.gz kernel-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 <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
