ntfs3: Update logging
cover ntfs3: Update logging
Use the more typical kernel logging styles. These changes also trivially reduce overall object size.
btw: ntfs_fs_error/__ntfs_fs_error were and are left unused
Joe Perches (3):
ntfs3: Use more common logging function names and style
ntfs3: Rename logging macros and uses
ntfs3: Rename ntfs_trace to ntfs_notice
fs/ntfs3/debug.h | 30 ++++++++------ fs/ntfs3/dir.c | 22 +++++------ fs/ntfs3/file.c | 27 ++++++------- fs/ntfs3/frecord.c | 2 +- fs/ntfs3/fslog.c | 4 +- fs/ntfs3/fsntfs.c | 39 +++++++++--------- fs/ntfs3/index.c | 4 +- fs/ntfs3/inode.c | 14 +++---- fs/ntfs3/ntfs_fs.h | 4 +- fs/ntfs3/super.c | 99 ++++++++++++++++++++++++---------------------- 10 files changed, 121 insertions(+), 124 deletions(-)
Signature · 1 line
2.26.0
PATCH 1/3 ntfs3: Use more common logging function names and style
Convert the ntfs_<foo>_trace function names to _printk.
Miscellanea:
o Change the macros that use these functions
o Use the more common ..., ##__VA_ARGS__ style
--- fs/ntfs3/debug.h | 30 +++++++++++++++++------------- fs/ntfs3/ntfs_fs.h | 4 ++-- fs/ntfs3/super.c | 31 ++++++++++++++++++++----------- 3 files changed, 39 insertions(+), 26 deletions(-)
fs/ntfs3/debug.h +17 -13
@@ -23,23 +23,27 @@#define WordAlign (n) (((n) + 1u) & (~1u))#define IsWordAligned (n) (!((size_t)(n)&1u)) -__printf(3, 4) void __ntfs_trace(const struct super_block *sb, -const char *level,const char *fmt, ...); +__printf(2, 3) +void ntfs_printk (const struct super_block *sb, +const char *fmt, ...); __printf(3, 4) void __ntfs_fs_error(struct super_block *sb, int report,const char *fmt, ...); -__printf(3, 4) void __ntfs_inode_trace(struct inode *inode, const char *level, -const char *fmt, ...); +__printf(2, 3) +void ntfs_inode_printk (struct inode *inode,const char *fmt, ...); -#define ntfs_trace(sb, fmt, args...) __ntfs_trace(sb, KERN_NOTICE, fmt, ##args) -#define ntfs_error(sb, fmt, args...) __ntfs_trace(sb, KERN_ERR, fmt, ##args) -#define ntfs_warning(sb, fmt, args...) \ - __ntfs_trace(sb, KERN_WARNING, fmt, ##args) +#define ntfs_trace (sb, fmt, ...) \ + ntfs_printk(sb, KERN_NOTICE fmt, ##__VA_ARGS__) +#define ntfs_error (sb, fmt, ...) \ + ntfs_printk(sb, KERN_ERR fmt, ##__VA_ARGS__) +#define ntfs_warning (sb, fmt, ...) \ + ntfs_printk(sb, KERN_WARNING fmt, ##__VA_ARGS__) -#define ntfs_fs_error(sb, fmt, args...) __ntfs_fs_error(sb, 1, fmt, ##args) -#define ntfs_inode_error(inode, fmt, args...) \ - __ntfs_inode_trace(inode, KERN_ERR, fmt, ##args) -#define ntfs_inode_warning(inode, fmt, args...) \ - __ntfs_inode_trace(inode, KERN_WARNING, fmt, ##args) +#define ntfs_fs_error (sb, fmt, ...) \ + __ntfs_fs_error(sb, 1, fmt, ##__VA_ARGS__) +#define ntfs_inode_error (inode, fmt, ...) \ + ntfs_inode_printk(inode, KERN_ERR fmt, ##__VA_ARGS__) +#define ntfs_inode_warning (inode, fmt, ...) \ + ntfs_inode_printk(inode, KERN_WARNING fmt, ##__VA_ARGS__)static inline void *ntfs_alloc (size_t size,int zero) {
fs/ntfs3/ntfs_fs.h +2 -2
@@ -857,8 +857,8 @@ static inline struct buffer_head *ntfs_bread(struct super_block *sb,if (bh)return bh; -__ntfs_trace (sb,KERN_ERR ,"failed to read volume at offset 0x%llx" , - (u64 )block << sb->s_blocksize_bits); +ntfs_error (sb,"failed to read volume at offset 0x%llx" , + (u64 )block << sb->s_blocksize_bits);return NULL ; }
fs/ntfs3/super.c +20 -11
@@ -31,35 +31,40 @@#include "ntfs_fs.h" /** -* ntfs_trace() - print preformated ntfs specific messages. +* ntfs_printk() - print preformatted ntfs specific messages. */ -void __ntfs_trace (const struct super_block *sb,const char *level, -const char *fmt, ...) +void ntfs_printk (const struct super_block *sb,const char *fmt, ...) {struct va_format vaf;va_list args; +int level;va_start (args, fmt); - vaf.fmt = fmt; + + level =printk_get_level (fmt); + vaf.fmt =printk_skip_level (fmt); vaf.va = &args;if (!sb) -printk ("%sntfs3: %pV" , level, &vaf); +printk ("%c%cntfs3: %pV" , +KERN_SOH_ASCII , level, &vaf);else -printk ("%sntfs3: %s: %pV" , level, sb->s_id, &vaf); +printk ("%c%cntfs3: %s: %pV" , +KERN_SOH_ASCII , level, sb->s_id, &vaf); +va_end (args); }/* prints info about inode using dentry case if */ -void __ntfs_inode_trace (struct inode *inode,const char *level,const char *fmt, - ...) +void ntfs_inode_printk (struct inode *inode,const char *fmt, ...) {struct super_block *sb = inode->i_sb;ntfs_sb_info *sbi = sb->s_fs_info;struct dentry *dentry;const char *name ="?" ;char buf[48 ]; -va_list args;struct va_format vaf; +va_list args; +int level;if (!__ratelimit (&sbi->ratelimit))return ;
@@ -74,9 +79,13 @@ void __ntfs_inode_trace(struct inode *inode, const char *level, const char *fmt, }va_start (args, fmt); - vaf.fmt = fmt; + + level =printk_get_level (fmt); + vaf.fmt =printk_skip_level (fmt); vaf.va = &args; -printk ("%s%s on %s: %pV" , level, name, sb->s_id, &vaf); +printk ("%c%c%s on %s: %pV" , +KERN_SOH_ASCII , level, name, sb->s_id, &vaf); +va_end (args);if (dentry) {
Signature · 1 line
2.26.0
PATCH 2/3 ntfs3: Rename logging macros and uses
In reply to Joe PerchesRename the ntfs_warning and ntfs_error macros to the more common style of ntfs_warn and ntfs_err. _inode_ variants too.
Miscellanea:
o Realign arguments
o Fix a typo
--- fs/ntfs3/debug.h | 8 +++---- fs/ntfs3/dir.c | 22 +++++++++---------- fs/ntfs3/file.c | 27 ++++++++++------------- fs/ntfs3/frecord.c | 2 +- fs/ntfs3/fslog.c | 4 ++-- fs/ntfs3/fsntfs.c | 23 ++++++++++--------- fs/ntfs3/inode.c | 14 ++++++------ fs/ntfs3/ntfs_fs.h | 4 ++-- fs/ntfs3/super.c | 55 +++++++++++++++++++++------------------------- 9 files changed, 73 insertions(+), 86 deletions(-)
fs/ntfs3/debug.h +4 -4
@@ -33,16 +33,16 @@ void ntfs_inode_printk(struct inode *inode, const char *fmt, ...);#define ntfs_trace (sb, fmt, ...) \ ntfs_printk(sb, KERN_NOTICE fmt, ##__VA_ARGS__) -#define ntfs_error (sb, fmt, ...) \ +#define ntfs_err (sb, fmt, ...) \ ntfs_printk(sb, KERN_ERR fmt, ##__VA_ARGS__) -#define ntfs_warning (sb, fmt, ...) \ +#define ntfs_warn (sb, fmt, ...) \ ntfs_printk(sb, KERN_WARNING fmt, ##__VA_ARGS__)#define ntfs_fs_error (sb, fmt, ...) \ __ntfs_fs_error(sb, 1, fmt, ##__VA_ARGS__) -#define ntfs_inode_error (inode, fmt, ...) \ +#define ntfs_inode_err (inode, fmt, ...) \ ntfs_inode_printk(inode, KERN_ERR fmt, ##__VA_ARGS__) -#define ntfs_inode_warning (inode, fmt, ...) \ +#define ntfs_inode_warn (inode, fmt, ...) \ ntfs_inode_printk(inode, KERN_WARNING fmt, ##__VA_ARGS__)static inline void *ntfs_alloc (size_t size,int zero)
fs/ntfs3/dir.c +10 -12
@@ -34,9 +34,8 @@ int uni_to_x8(ntfs_sb_info *sbi, const struct le_str *uni, u8 *buf, int buf_len)int charlen;if (buf_len <NLS_MAX_CHARSET_SIZE ) { -ntfs_warning ( - sbi->sb, -"filename was truncated while converting." ); +ntfs_warn (sbi->sb, +"filename was truncated while converting" );break ; }
@@ -94,12 +93,12 @@ int x8_to_uni(ntfs_sb_info *sbi, const u8 *name, u32 name_len,if (!warn) { warn =1 ; -ntfs_warning ( - sbi->sb, -"%s -> unicode failed: '%.*s', pos %d, chars %x %x %x" , - nls->charset, name_len, name, (int )(str - name), - str[0 ], tail >1 ? str[1 ] :0 , - tail >2 ? str[2 ] :0 ); +ntfs_warn (sbi->sb, +"%s -> unicode failed: '%.*s', pos %d, chars %x %x %x" , + nls->charset, name_len, name, + (int )(str - name), + str[0 ], tail >1 ? str[1 ] :0 , + tail >2 ? str[2 ] :0 ); }if (ret +3 > max_ulen)
@@ -233,8 +232,7 @@ static inline int ntfs_filldir(ntfs_sb_info *sbi, ntfs_inode *ni, name_len =uni_to_x8 (sbi, (struct le_str *)&fname->name_len, name,PATH_MAX );if (name_len <=0 ) { -ntfs_warning (sbi->sb,"failed to convert name for inode %lx." , - ino); +ntfs_warn (sbi->sb,"failed to convert name for inode %lx" , ino);return 0 ; }
@@ -397,7 +395,7 @@ static int ntfs_readdir(struct file *file, struct dir_context *ctx) goto next_vcn; fs_error: -ntfs_inode_error (dir,"Looks like your dir is corrupt" ); +ntfs_inode_err (dir,"Looks like your dir is corrupt" ); err = -EINVAL ; out:
fs/ntfs3/file.c +11 -16
@@ -187,8 +187,8 @@ static int ntfs_extend_initialized_size(struct file *file, ntfs_inode *ni, out: ni->i_valid = valid; -ntfs_inode_warning (inode,"failed to extend initialized size to %llx." , - new_valid); +ntfs_inode_warn (inode,"failed to extend initialized size to %llx" , + new_valid);return err; }
@@ -294,9 +294,8 @@ static int ntfs_extend_initialized_size_cmpr(struct file *file, ntfs_inode *ni, out: ni->i_valid = valid; -ntfs_inode_warning ( - inode,"failed to extend initialized compressed size to %llx." , - new_valid); +ntfs_inode_warn (inode,"failed to extend initialized compressed size to %llx" , + new_valid);return err; }
@@ -337,9 +336,8 @@ void ntfs_sparse_cluster(struct inode *inode, struct page *page0, loff_t vbo, likely(!page_has_buffers(page))) {create_empty_buffers (page, blocksize,0 );if (!page_has_buffers (page)) { -ntfs_inode_error ( - inode, -"failed to allocate page buffers." ); +ntfs_inode_err (inode, +"failed to allocate page buffers" );/*err = -ENOMEM;*/ goto unlock_page; }
@@ -1059,26 +1057,23 @@ static ssize_t ntfs_file_write_iter(struct kiocb *iocb, struct iov_iter *from)ntfs_inode *ni =ntfs_i (inode);if (is_encrypted (ni)) { -ntfs_inode_warning (inode,"encrypted i/o not supported" ); +ntfs_inode_warn (inode,"encrypted i/o not supported" );return -EOPNOTSUPP ; }if (is_compressed (ni) && (iocb->ki_flags &IOCB_DIRECT )) { -ntfs_inode_warning (inode, -"direct i/o + compressed not supported" ); +ntfs_inode_warn (inode,"direct i/o + compressed not supported" );return -EOPNOTSUPP ; }if (ni->ni_flags &NI_FLAG_COMPRESSED_MASK ) { -ntfs_inode_warning ( - inode, -"write into external compressed file not supported (temporary)" ); +ntfs_inode_warn (inode, +"write into external compressed file not supported (temporary)" );return -EOPNOTSUPP ; }if (is_dedup (ni)) { -ntfs_inode_warning (inode, -"write into deduplicated not supported" ); +ntfs_inode_warn (inode,"write into deduplicated not supported" );return -EOPNOTSUPP ; }
fs/ntfs3/frecord.c +1 -1
@@ -2165,7 +2165,7 @@ int ni_write_inode(struct inode *inode, int sync, const char *hint)ni_unlock (ni);if (err) { -ntfs_error (sb,"%s r=%lx failed, %d." , hint, inode->i_ino, err); +ntfs_err (sb,"%s r=%lx failed, %d" , hint, inode->i_ino, err);ntfs_set_state (sbi,NTFS_DIRTY_ERROR );return err; }
fs/ntfs3/fslog.c +2 -2
@@ -4094,8 +4094,8 @@ int log_replay(ntfs_inode *ni)case 0x20000 :break ;default : -ntfs_warning (sbi->sb,"$LogFile version %d.%d is not supported" , - log->major_ver, log->minor_ver); +ntfs_warn (sbi->sb,"$LogFile version %d.%d is not supported" , + log->major_ver, log->minor_ver); err = -EOPNOTSUPP ; log->set_dirty = true; goto out;
fs/ntfs3/fsntfs.c +11 -12
@@ -182,7 +182,7 @@ int ntfs_extend_init(ntfs_sb_info *sbi) inode =ntfs_iget5 (sb, &ref, &NAME_EXTEND );if (IS_ERR (inode)) { err =PTR_ERR (inode); -ntfs_error (sbi->sb,"Failed to load $Extend." ); +ntfs_err (sbi->sb,"Failed to load $Extend" ); inode =NULL ; goto out; }
@@ -245,7 +245,7 @@ int ntfs_loadlog_and_replay(ntfs_inode *ni, ntfs_sb_info *sbi)/* Check for 4GB */ if (inode->i_size >=0x100000000ull ) { -ntfs_error (sb,"$LogFile is too big" ); +ntfs_err (sb,"$LogFile is too big" ); err = -EINVAL ; goto out; }
@@ -275,7 +275,7 @@ int ntfs_loadlog_and_replay(ntfs_inode *ni, ntfs_sb_info *sbi)if (!inode) { err = -EINVAL ; -ntfs_error (sb,"Failed to load $MFT." ); +ntfs_err (sb,"Failed to load $MFT" ); goto out; }
@@ -372,8 +372,8 @@ int ntfs_look_for_free_space(ntfs_sb_info *sbi, CLST lcn, CLST len, zlen =wnd_zone_len (wnd);if (!zlen) { -ntfs_error (sbi->sb, -"no free space to extend mft" ); +ntfs_err (sbi->sb, +"no free space to extend mft" ); err = -ENOSPC ; goto out; }
@@ -1065,8 +1065,8 @@ int ntfs_sb_write(struct super_block *sb, u64 lbo, size_t bytes,if (op < blocksize) { bh =__bread (bdev, block, blocksize);if (!bh) { -ntfs_error (sb,"failed to read block %llx" , - (u64 )block); +ntfs_err (sb,"failed to read block %llx" , + (u64 )block);return -EIO ; } }else {
@@ -1094,10 +1094,9 @@ int ntfs_sb_write(struct super_block *sb, u64 lbo, size_t bytes,int err =sync_dirty_buffer (bh);if (err) { -ntfs_error ( - sb, -"failed to sync buffer at block %llx, error %d" , - (u64 )block, err); +ntfs_err (sb, +"failed to sync buffer at block %llx, error %d" , + (u64 )block, err);put_bh (bh);return err; }
@@ -1553,7 +1552,7 @@ int ntfs_security_init(ntfs_sb_info *sbi) inode =ntfs_iget5 (sb, &ref, &NAME_SECURE );if (IS_ERR (inode)) { err =PTR_ERR (inode); -ntfs_error (sbi->sb,"Failed to load $Secure." ); +ntfs_err (sbi->sb,"Failed to load $Secure" ); inode =NULL ; goto out; }
fs/ntfs3/inode.c +7 -7
@@ -80,12 +80,12 @@ static struct inode *ntfs_read_mft(struct inode *inode, ; else if (ref->seq != rec->seq) { err = -EINVAL ; -ntfs_error (sb,"MFT: r=%lx, expect seq=%x instead of %x!" , ino, -le16_to_cpu (ref->seq),le16_to_cpu (rec->seq)); +ntfs_err (sb,"MFT: r=%lx, expect seq=%x instead of %x!" , + ino,le16_to_cpu (ref->seq),le16_to_cpu (rec->seq)); goto out; } else if (!is_rec_inuse(rec)) { err = -EINVAL ; -ntfs_error (sb,"Inode r=%x is not in use!" , (u32 )ino); +ntfs_err (sb,"Inode r=%x is not in use!" , (u32 )ino); goto out; }
@@ -792,8 +792,8 @@ int ntfs_readpage(struct file *file, struct page *page)if (PageLocked (page))wait_on_page_bit (page, PG_locked);if (PageError (page)) { -ntfs_inode_warning (inode,"file garbadge at 0x%llx" , - valid); +ntfs_inode_warn (inode,"file garbadge at 0x%llx" , + valid); goto out; }zero_user_segment (page, valid & (PAGE_SIZE -1 ),PAGE_SIZE );
@@ -913,7 +913,7 @@ static ssize_t ntfs_direct_IO(struct kiocb *iocb, struct iov_iter *iter) out:return ret; fix_error: -ntfs_inode_warning (inode,"file garbadge at 0x%llx" , valid); +ntfs_inode_warn (inode,"file garbage at 0x%llx" , valid); goto out; }
@@ -1428,7 +1428,7 @@ int ntfs_create_inode(struct inode *dir, struct dentry *dentry, nsize =ntfs_reparse_bytes (err);if (nsize > sbi->reparse.max_size) { -ntfs_warning (sb,"Symbolic link %u is too big" , size); +ntfs_warn (sb,"Symbolic link %u is too big" , size); err = -EFBIG ; goto out4; }
fs/ntfs3/ntfs_fs.h +2 -2
@@ -857,8 +857,8 @@ static inline struct buffer_head *ntfs_bread(struct super_block *sb,if (bh)return bh; -ntfs_error (sb,"failed to read volume at offset 0x%llx" , - (u64 )block << sb->s_blocksize_bits); +ntfs_err (sb,"failed to read volume at offset 0x%llx" , + (u64 )block << sb->s_blocksize_bits);return NULL ; }
fs/ntfs3/super.c +25 -30
159 lines not on this page · raw message
Signature · 1 line
2.26.0
PATCH 3/3 ntfs3: Rename ntfs_trace to ntfs_notice
In reply to Joe PerchesUse the normal name.
Miscellanea:
o Reorder the macro logging definitions in KERN_<LEVEL> order
--- fs/ntfs3/debug.h | 4 ++-- fs/ntfs3/fsntfs.c | 16 +++++++--------- fs/ntfs3/index.c | 4 ++-- fs/ntfs3/super.c | 13 ++++++------- 4 files changed, 17 insertions(+), 20 deletions(-)
fs/ntfs3/debug.h +2 -2
@@ -31,12 +31,12 @@ __printf(3, 4) void __ntfs_fs_error(struct super_block *sb, int report, __printf(2, 3)void ntfs_inode_printk (struct inode *inode,const char *fmt, ...); -#define ntfs_trace (sb, fmt, ...) \ - ntfs_printk(sb, KERN_NOTICE fmt, ##__VA_ARGS__)#define ntfs_err (sb, fmt, ...) \ ntfs_printk(sb, KERN_ERR fmt, ##__VA_ARGS__)#define ntfs_warn (sb, fmt, ...) \ ntfs_printk(sb, KERN_WARNING fmt, ##__VA_ARGS__) +#define ntfs_notice (sb, fmt, ...) \ + ntfs_printk(sb, KERN_NOTICE fmt, ##__VA_ARGS__)#define ntfs_fs_error (sb, fmt, ...) \ __ntfs_fs_error(sb, 1, fmt, ##__VA_ARGS__)
fs/ntfs3/fsntfs.c +7 -9
@@ -172,7 +172,7 @@ int ntfs_extend_init(ntfs_sb_info *sbi)MFT_REF ref;if (sbi->volume.major_ver <3 ) { -ntfs_trace (sb,"Skip $Extend 'cause NTFS version" ); +ntfs_notice (sb,"Skip $Extend 'cause NTFS version" );return 0 ; }
@@ -444,10 +444,8 @@ int ntfs_look_for_free_space(ntfs_sb_info *sbi, CLST lcn, CLST len, } no_space: -ntfs_trace ( - sb, -"Can not allocate %x cluster(s), Zone: %zx, free %zx, flags %d" , - (u32 )len, zlen,wnd_zeroes (wnd), (int )opt); +ntfs_notice (sb,"Can not allocate %x cluster(s), Zone: %zx, free %zx, flags %d" , + (u32 )len, zlen,wnd_zeroes (wnd), (int )opt);up_write (&wnd->rw_lock);
@@ -615,8 +613,8 @@ int ntfs_look_free_mft(ntfs_sb_info *sbi, CLST *rno, bool mft, ntfs_inode *ni, i =ntfs_iget5 (sb, &ref,NULL );if (IS_ERR (i)) { next: -ntfs_trace (sb,"Invalid reserved record %x" , - ref.low); +ntfs_notice (sb,"Invalid reserved record %x" , + ref.low);continue ; }if (is_bad_inode (i)) {
@@ -845,7 +843,7 @@ int ntfs_refresh_zone(ntfs_sb_info *sbi)/* Try to allocate clusters after last MFT run */ zlen =wnd_find (wnd, zone_max, lcn_s,0 , &lcn_s);if (!zlen) { -ntfs_trace (sbi->sb,"MftZone: unavailable" ); +ntfs_notice (sbi->sb,"MftZone: unavailable" );return 0 ; }
@@ -974,7 +972,7 @@ int ntfs_set_state(ntfs_sb_info *sbi, enum NTFS_DIRTY_FLAGS dirty)switch (dirty) {case NTFS_DIRTY_ERROR : -ntfs_trace (sbi->sb,"Mark volume as dirty due to NTFS errors" ); +ntfs_notice (sbi->sb,"Mark volume as dirty due to NTFS errors" ); sbi->volume.real_dirty = true; fallthrough;case NTFS_DIRTY_DIRTY :
fs/ntfs3/index.c +2 -2
@@ -1691,8 +1691,8 @@ static int indx_insert_into_root(ntfs_index *indx, ntfs_inode *ni,* new entry classic case when mft record is 1K and index * buffer 4K the problem should not occurs */ -ntfs_trace (sbi->sb, -"Failed: root + new entry > index. Reinsert" ); +ntfs_notice (sbi->sb, +"Failed: root + new entry > index. Reinsert" );ntfs_free (re);indx_write (indx, ni, n,0 );
fs/ntfs3/super.c +6 -7
@@ -291,7 +291,7 @@ static void ntfs_put_super(struct super_block *sb)ntfs_set_state (sbi,NTFS_DIRTY_CLEAR );close_ntfs (sbi); -ntfs_trace (sb,"is unmounted at %.*s\n" ,time_str (buf,sizeof (buf)), +ntfs_notice (sb,"is unmounted at %.*s\n" ,time_str (buf,sizeof (buf)), buf); }
@@ -592,10 +592,8 @@ static int ntfs_init_from_boot(struct super_block *sb, u32 sector_size,#else /* 32 bits per cluster */ if (clusters >>32 ) { -ntfs_trace ( - sb, -"NTFS %u.%02u Gb is too big to use 32 bits per cluster" , - gb, mb); +ntfs_notice (sb,"NTFS %u.%02u Gb is too big to use 32 bits per cluster" , + gb, mb); goto out; }#endif
@@ -1033,7 +1031,7 @@ static int ntfs_fill_super(struct super_block *sb, void *data, int silent)continue ;if (!sbi->bad_clusters) -ntfs_trace (sb,"Volume contains bad blocks" ); +ntfs_notice (sb,"Volume contains bad blocks" ); sbi->bad_clusters += len; }
@@ -1246,7 +1244,8 @@ static int ntfs_fill_super(struct super_block *sb, void *data, int silent) goto out; } -ntfs_trace (sb,"is mounted as NTFS at %.*s" ,time_str (buf,sizeof (buf)), +ntfs_notice (sb,"is mounted as NTFS at %.*s" , +time_str (buf,sizeof (buf)), buf);return 0 ;
Signature · 1 line
2.26.0