Skip to content

Commit

Permalink
NFS: Remove extra dprintk()s from nfs4namespace.c
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Schumaker <[email protected]>
Signed-off-by: Trond Myklebust <[email protected]>
  • Loading branch information
amschuma-ntap authored and trondmypd committed Apr 20, 2017
1 parent 539fd1d commit 3183783
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions fs/nfs/nfs4namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ static struct vfsmount *nfs_follow_referral(struct dentry *dentry,
out:
free_page((unsigned long) page);
free_page((unsigned long) page2);
dprintk("%s: done\n", __func__);
return mnt;
}

Expand All @@ -358,11 +357,9 @@ static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *
int err;

/* BUG_ON(IS_ROOT(dentry)); */
dprintk("%s: enter\n", __func__);

page = alloc_page(GFP_KERNEL);
if (page == NULL)
goto out;
return mnt;

fs_locations = kmalloc(sizeof(struct nfs4_fs_locations), GFP_KERNEL);
if (fs_locations == NULL)
Expand All @@ -386,8 +383,6 @@ static struct vfsmount *nfs_do_refmount(struct rpc_clnt *client, struct dentry *
out_free:
__free_page(page);
kfree(fs_locations);
out:
dprintk("%s: done\n", __func__);
return mnt;
}

Expand Down

0 comments on commit 3183783

Please sign in to comment.