problem with d_count.

P.Basker (basker_p@bbv.satyam.com)
Tue, 18 Jul 2000 16:07:11 +0530 (IST)


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/