diff options
author | Jeff Mahoney <jeffm@suse.com> | 2009-03-30 14:02:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-03-30 15:16:39 -0400 |
commit | 0222e6571c332563a48d4cf5487b67feabe60b5e (patch) | |
tree | 44829ca0a4b1343edec08d4f70696cb0d3218975 /fs/reiserfs/prints.c | |
parent | 3cd6dbe6feb9b32347e6c6f25a27f0cde9d50418 (diff) |
reiserfs: strip trailing whitespace
This patch strips trailing whitespace from the reiserfs code.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs/prints.c')
-rw-r--r-- | fs/reiserfs/prints.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/fs/reiserfs/prints.c b/fs/reiserfs/prints.c index 8e826c07cd21..536eacaeb710 100644 --- a/fs/reiserfs/prints.c +++ b/fs/reiserfs/prints.c | |||
@@ -178,11 +178,11 @@ static char *is_there_reiserfs_struct(char *fmt, int *what) | |||
178 | appropriative printk. With this reiserfs_warning you can use format | 178 | appropriative printk. With this reiserfs_warning you can use format |
179 | specification for complex structures like you used to do with | 179 | specification for complex structures like you used to do with |
180 | printfs for integers, doubles and pointers. For instance, to print | 180 | printfs for integers, doubles and pointers. For instance, to print |
181 | out key structure you have to write just: | 181 | out key structure you have to write just: |
182 | reiserfs_warning ("bad key %k", key); | 182 | reiserfs_warning ("bad key %k", key); |
183 | instead of | 183 | instead of |
184 | printk ("bad key %lu %lu %lu %lu", key->k_dir_id, key->k_objectid, | 184 | printk ("bad key %lu %lu %lu %lu", key->k_dir_id, key->k_objectid, |
185 | key->k_offset, key->k_uniqueness); | 185 | key->k_offset, key->k_uniqueness); |
186 | */ | 186 | */ |
187 | static DEFINE_SPINLOCK(error_lock); | 187 | static DEFINE_SPINLOCK(error_lock); |
188 | static void prepare_error_buf(const char *fmt, va_list args) | 188 | static void prepare_error_buf(const char *fmt, va_list args) |
@@ -244,11 +244,11 @@ static void prepare_error_buf(const char *fmt, va_list args) | |||
244 | } | 244 | } |
245 | 245 | ||
246 | /* in addition to usual conversion specifiers this accepts reiserfs | 246 | /* in addition to usual conversion specifiers this accepts reiserfs |
247 | specific conversion specifiers: | 247 | specific conversion specifiers: |
248 | %k to print little endian key, | 248 | %k to print little endian key, |
249 | %K to print cpu key, | 249 | %K to print cpu key, |
250 | %h to print item_head, | 250 | %h to print item_head, |
251 | %t to print directory entry | 251 | %t to print directory entry |
252 | %z to print block head (arg must be struct buffer_head * | 252 | %z to print block head (arg must be struct buffer_head * |
253 | %b to print buffer_head | 253 | %b to print buffer_head |
254 | */ | 254 | */ |
@@ -314,17 +314,17 @@ void reiserfs_debug(struct super_block *s, int level, const char *fmt, ...) | |||
314 | maintainer-errorid. Don't bother with reusing errorids, there are | 314 | maintainer-errorid. Don't bother with reusing errorids, there are |
315 | lots of numbers out there. | 315 | lots of numbers out there. |
316 | 316 | ||
317 | Example: | 317 | Example: |
318 | 318 | ||
319 | reiserfs_panic( | 319 | reiserfs_panic( |
320 | p_sb, "reiser-29: reiserfs_new_blocknrs: " | 320 | p_sb, "reiser-29: reiserfs_new_blocknrs: " |
321 | "one of search_start or rn(%d) is equal to MAX_B_NUM," | 321 | "one of search_start or rn(%d) is equal to MAX_B_NUM," |
322 | "which means that we are optimizing location based on the bogus location of a temp buffer (%p).", | 322 | "which means that we are optimizing location based on the bogus location of a temp buffer (%p).", |
323 | rn, bh | 323 | rn, bh |
324 | ); | 324 | ); |
325 | 325 | ||
326 | Regular panic()s sometimes clear the screen before the message can | 326 | Regular panic()s sometimes clear the screen before the message can |
327 | be read, thus the need for the while loop. | 327 | be read, thus the need for the while loop. |
328 | 328 | ||
329 | Numbering scheme for panic used by Vladimir and Anatoly( Hans completely ignores this scheme, and considers it | 329 | Numbering scheme for panic used by Vladimir and Anatoly( Hans completely ignores this scheme, and considers it |
330 | pointless complexity): | 330 | pointless complexity): |