fs/coda: use __func__
Replace all function names by __func__ in pr_foo() Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Jan Harkes <jaharkes@cs.cmu.edu> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
f38cfb2564
commit
6d6bd94f4d
@@ -101,7 +101,7 @@ struct inode *coda_cnode_make(struct CodaFid *fid, struct super_block *sb)
|
||||
|
||||
inode = coda_iget(sb, fid, &attr);
|
||||
if (IS_ERR(inode))
|
||||
pr_warn("coda_cnode_make: coda_iget failed\n");
|
||||
pr_warn("%s: coda_iget failed\n", __func__);
|
||||
return inode;
|
||||
}
|
||||
|
||||
@@ -137,7 +137,7 @@ struct inode *coda_fid_to_inode(struct CodaFid *fid, struct super_block *sb)
|
||||
unsigned long hash = coda_f2i(fid);
|
||||
|
||||
if ( !sb ) {
|
||||
pr_warn("coda_fid_to_inode: no sb!\n");
|
||||
pr_warn("%s: no sb!\n", __func__);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user