Getting inode no from current process file descriptor table

From: selvakumar nagendran
Date: Mon Jan 03 2005 - 00:39:30 EST


Hello,
How can we get the inode number for a file provided
we have the corresponding file descriptor. Can we use
files_struct -> fd[fd] to get struct file ?. From that
how can we get the corresponding inode number?

Regards,
selva



__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/