]> git.hungrycats.org Git - linux/commitdiff
[PATCH] smbfs: remove noisy printk's
authorAndrew Morton <akpm@osdl.org>
Tue, 20 Jan 2004 11:17:14 +0000 (03:17 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 20 Jan 2004 11:17:14 +0000 (03:17 -0800)
These printk's come out during normal usage, when accessing locked system
files on the windows machines.

fs/smbfs/file.c
fs/smbfs/proc.c

index 92e7132ed1df5c5af085dcc5ce85ce3f98497ce9..c7723f981abf7690c5161d1f7d94e008a6e8e645 100644 (file)
@@ -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)
index 07c795f88716032f7e6172f7c5f2d797c9198904..20a12e8033836876ed562343b4c0ad004d18498b 100644 (file)
@@ -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 ...
                 */