summaryrefslogtreecommitdiff
path: root/fs/aio.c
diff options
context:
space:
mode:
authorBenjamin LaHaise <bcrl@kvack.org>2013-08-30 18:22:04 +0400
committerBenjamin LaHaise <bcrl@kvack.org>2013-08-30 18:22:04 +0400
commit79bd1bcf1ab22ea723da7d5854a9e72a350ecbf8 (patch)
tree1d9f8e698b5ad8f6125fb7b66ea8d08dc714284c /fs/aio.c
parentf30d704fe1244c44a984d3d1f47bc648bcc6c9f7 (diff)
downloadlinux-79bd1bcf1ab22ea723da7d5854a9e72a350ecbf8.tar.xz
aio: remove unnecessary debugging from aio_free_ring()
The commit 36bc08cc0170 ("fs/aio: Add support to aio ring pages migration") added some debugging code that is not required and resulted in a build error when 98474236f72e ("vfs: make the dentry cache use the lockref infrastructure") was added to the tree. The code is not required, so just delete it. Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
Diffstat (limited to 'fs/aio.c')
-rw-r--r--fs/aio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/aio.c b/fs/aio.c
index c3f005dc2d55..d0defcb0a493 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -183,11 +183,6 @@ static void aio_free_ring(struct kioctx *ctx)
if (aio_ring_file) {
truncate_setsize(aio_ring_file->f_inode, 0);
- pr_debug("pid(%d) i_nlink=%u d_count=%d d_unhashed=%d i_count=%d\n",
- current->pid, aio_ring_file->f_inode->i_nlink,
- aio_ring_file->f_path.dentry->d_count,
- d_unhashed(aio_ring_file->f_path.dentry),
- atomic_read(&aio_ring_file->f_inode->i_count));
fput(aio_ring_file);
ctx->aio_ring_file = NULL;
}