Skip to content

Commit

Permalink
aio: remove unnecessary debugging from aio_free_ring()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bcrl committed Aug 30, 2013
1 parent f30d704 commit 79bd1bc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fs/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 79bd1bc

Please sign in to comment.