* Modifying file_operations
@ 2001-09-13 22:53 Simon Turvey
0 siblings, 0 replies; only message in thread
From: Simon Turvey @ 2001-09-13 22:53 UTC (permalink / raw)
To: linux-kernel
Warning! This might be a stupid question.
Is it safe to modify the read() entry of a driver's file_operations struct
in order to modify the behaviour of the driver depending upon some context,
say a particular hardware mode. Or is the only way to do this safely to
test the current mode in read() adding overhead to the function.
Ta,
Simon
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-09-13 22:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-13 22:53 Modifying file_operations Simon Turvey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox