Commit 31e43b1b authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] smbfs: remove noisy printk's

These printk's come out during normal usage, when accessing locked system
files on the windows machines.
parent 8bbd4223
......@@ -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)
......
......@@ -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 ...
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment