diff options
author | Joe Perches <joe@perches.com> | 2014-04-08 19:04:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-08 19:48:52 -0400 |
commit | e45ca8baa33e0c0228e84126c3a20df3abfd1771 (patch) | |
tree | 857a421ea03f957b144281af36291fbe3e88a0df /fs/ncpfs/file.c | |
parent | d3b73ca1be3236fc33f896af7e2ba637a677d5c9 (diff) |
ncpfs: convert PPRINTK to ncp_vdbg
Use a more current logging style.
Convert the paranoia debug statement to vdbg.
Remove the embedded function names as dynamic_debug can do that.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Petr Vandrovec <petr@vandrovec.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ncpfs/file.c')
-rw-r--r-- | fs/ncpfs/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ncpfs/file.c b/fs/ncpfs/file.c index 4cb02fdc2684..77640a8bfb87 100644 --- a/fs/ncpfs/file.c +++ b/fs/ncpfs/file.c | |||
@@ -73,7 +73,7 @@ int ncp_make_open(struct inode *inode, int right) | |||
73 | break; | 73 | break; |
74 | } | 74 | } |
75 | if (result) { | 75 | if (result) { |
76 | PPRINTK("ncp_make_open: failed, result=%d\n", result); | 76 | ncp_vdbg("failed, result=%d\n", result); |
77 | goto out_unlock; | 77 | goto out_unlock; |
78 | } | 78 | } |
79 | /* | 79 | /* |
@@ -85,7 +85,7 @@ int ncp_make_open(struct inode *inode, int right) | |||
85 | } | 85 | } |
86 | 86 | ||
87 | access = NCP_FINFO(inode)->access; | 87 | access = NCP_FINFO(inode)->access; |
88 | PPRINTK("ncp_make_open: file open, access=%x\n", access); | 88 | ncp_vdbg("file open, access=%x\n", access); |
89 | if (access == right || access == O_RDWR) { | 89 | if (access == right || access == O_RDWR) { |
90 | atomic_inc(&NCP_FINFO(inode)->opened); | 90 | atomic_inc(&NCP_FINFO(inode)->opened); |
91 | error = 0; | 91 | error = 0; |