瀏覽代碼

NFS: Remove extra dprintk()s from nfs4namespace.c

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Anna Schumaker 8 年之前
父節點
當前提交
3183783bbb
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      fs/nfs/nfs4namespace.c

+ 1 - 6
fs/nfs/nfs4namespace.c

@@ -340,7 +340,6 @@ static struct vfsmount *nfs_follow_referral(struct dentry *dentry,
 out:
 out:
 	free_page((unsigned long) page);
 	free_page((unsigned long) page);
 	free_page((unsigned long) page2);
 	free_page((unsigned long) page2);
-	dprintk("%s: done\n", __func__);
 	return mnt;
 	return mnt;
 }
 }
 
 
@@ -358,11 +357,9 @@ static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *
 	int err;
 	int err;
 
 
 	/* BUG_ON(IS_ROOT(dentry)); */
 	/* BUG_ON(IS_ROOT(dentry)); */
-	dprintk("%s: enter\n", __func__);
-
 	page = alloc_page(GFP_KERNEL);
 	page = alloc_page(GFP_KERNEL);
 	if (page == NULL)
 	if (page == NULL)
-		goto out;
+		return mnt;
 
 
 	fs_locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL);
 	fs_locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL);
 	if (fs_locations == NULL)
 	if (fs_locations == NULL)
@@ -386,8 +383,6 @@ static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *
 out_free:
 out_free:
 	__free_page(page);
 	__free_page(page);
 	kfree(fs_locations);
 	kfree(fs_locations);
-out:
-	dprintk("%s: done\n", __func__);
 	return mnt;
 	return mnt;
 }
 }