diff options
author | Joe Perches <joe@perches.com> | 2011-10-10 01:08:05 -0700 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-10-31 23:43:52 +0100 |
commit | 78ace70c4186c0d18314eb001637aa97d1585e65 (patch) | |
tree | 34227a6d50b93eb66df22ba130bea8ed932a5896 /fs/udf/udftime.c | |
parent | a40ecd7b3ccf520ff02da93e8d1ba6cd55c2e359 (diff) | |
download | linux-3.10-78ace70c4186c0d18314eb001637aa97d1585e65.tar.gz linux-3.10-78ace70c4186c0d18314eb001637aa97d1585e65.tar.bz2 linux-3.10-78ace70c4186c0d18314eb001637aa97d1585e65.zip |
udf: Convert printks to pr_<level>
Use the current logging styles.
Convert a few printks that should have been udf_warn and udf_err.
Coalesce formats. Add #define pr_fmt.
Move an #include "udfdecls.h" above other includes in udftime.c
so pr_fmt works correctly. Strip prefixes from conversions as appropriate.
Reorder logging definitions in udfdecl.h
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udftime.c')
-rw-r--r-- | fs/udf/udftime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/udf/udftime.c b/fs/udf/udftime.c index b8c828c4d20..1f11483eba6 100644 --- a/fs/udf/udftime.c +++ b/fs/udf/udftime.c @@ -34,9 +34,10 @@ * http://www.boulder.nist.gov/timefreq/pubs/bulletin/leapsecond.htm */ +#include "udfdecl.h" + #include <linux/types.h> #include <linux/kernel.h> -#include "udfdecl.h" #define EPOCH_YEAR 1970 |