lkml.org 
[lkml]   [2000]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectproblem with d_count.
Hi all,

Im running RedHat 6.2, with kernel version 2.2.14-5.0. I have a
kernel module that traverses the whole directory tree structure accessing
all files. Im checking the d_count in dentry struct for directories. I see
that the d_count sometimes has some random values around 5-1000,
sometimes. How should I call dput() when traversing directories.

Can someone enlighten me on the significance of d_count in dentry for a
directory.

TIA,
Shankar


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.026 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site