Skip to content

Commit 79bd1bc

Browse files
committed
aio: remove unnecessary debugging from aio_free_ring()
The commit 36bc08c ("fs/aio: Add support to aio ring pages migration") added some debugging code that is not required and resulted in a build error when 9847423 ("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>
1 parent f30d704 commit 79bd1bc

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fs/aio.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,6 @@ static void aio_free_ring(struct kioctx *ctx)
183183

184184
if (aio_ring_file) {
185185
truncate_setsize(aio_ring_file->f_inode, 0);
186-
pr_debug("pid(%d) i_nlink=%u d_count=%d d_unhashed=%d i_count=%d\n",
187-
current->pid, aio_ring_file->f_inode->i_nlink,
188-
aio_ring_file->f_path.dentry->d_count,
189-
d_unhashed(aio_ring_file->f_path.dentry),
190-
atomic_read(&aio_ring_file->f_inode->i_count));
191186
fput(aio_ring_file);
192187
ctx->aio_ring_file = NULL;
193188
}

0 commit comments

Comments
 (0)