VNOP_PAGEIN doubt
VNOP_PAGEIN doubt
- Subject: VNOP_PAGEIN doubt
- From: anubhav rakshit <email@hidden>
- Date: Wed, 23 Sep 2009 13:04:14 +0530
Hi,
I am working on a VFS plugin.From the VNOP_PAGEIN callback is it somehow possible to know the access type for the pagein request.
For example if my pagein function is called afs_pagein() what i want to know is from the "args" is it possible to find out the access type?
afs_pagein( args)
{
if (access_type == READ)
setup_for_read();
else
setup_for_write();
return cluster_pagein()
}
Thanks
--
Anubhav Rakshit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden