summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-01-20 03:17:14 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-01-20 03:17:14 -0800
commit31e43b1bf6175e60f2f08bc3619e7724133c627d (patch)
tree083e4a3867610ab374777f257ffc467f1a54b24b
parent8bbd42238d33d9153ac1de3648b993acc1531909 (diff)
[PATCH] smbfs: remove noisy printk's
These printk's come out during normal usage, when accessing locked system files on the windows machines.
-rw-r--r--fs/smbfs/file.c5
-rw-r--r--fs/smbfs/proc.c5
2 files changed, 2 insertions, 8 deletions
diff --git a/fs/smbfs/file.c b/fs/smbfs/file.c
index 92e7132ed1df..c7723f981abf 100644
--- a/fs/smbfs/file.c
+++ b/fs/smbfs/file.c
@@ -64,11 +64,8 @@ smb_readpage_sync(struct dentry *dentry, struct page *page)
DENTRY_PATH(dentry), count, offset, rsize);
result = smb_open(dentry, SMB_O_RDONLY);
- if (result < 0) {
- PARANOIA("%s/%s open failed, error=%d\n",
- DENTRY_PATH(dentry), result);
+ if (result < 0)
goto io_error;
- }
do {
if (count < rsize)
diff --git a/fs/smbfs/proc.c b/fs/smbfs/proc.c
index 07c795f88716..20a12e803383 100644
--- a/fs/smbfs/proc.c
+++ b/fs/smbfs/proc.c
@@ -1181,11 +1181,8 @@ smb_open(struct dentry *dentry, int wish)
result = 0;
if (!smb_is_open(inode))
result = smb_proc_open(server, dentry, wish);
- if (result) {
- PARANOIA("%s/%s open failed, result=%d\n",
- DENTRY_PATH(dentry), result);
+ if (result)
goto out;
- }
/*
* A successful open means the path is still valid ...
*/