• Fabian Frederick's avatar
    ntfs: logging clean-up · 87c1b497
    Fabian Frederick authored
    - Convert spinlock/static array to va_format (inspired by Joe Perches
      help on previous logging patches).
    
    - Convert printk(KERN_ERR to pr_warn in __ntfs_warning.
    
    - Convert printk(KERN_ERR to pr_err in __ntfs_error.
    
    - Convert printk(KERN_DEBUG to pr_debug in __ntfs_debug.  (Note that
      __ntfs_debug is still guarded by #if DEBUG)
    
    - Improve !DEBUG to parse all arguments (Joe Perches).
    
    - Sparse pr_foo() conversions in super.c
    
    NTFS, NTFS-fs prefixes as well as 'warning' and 'error' were removed :
    pr_foo() automatically adds module name and error level is already
    specified.
    Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
    Cc: Anton Altaparmakov <anton@tuxera.com>
    Cc: Joe Perches <joe@perches.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    87c1b497
debug.c 4.81 KB