On Sunday 04 September 2005 12:12, Harald Welte wrote: > cmx_llseek just use return nonseekable_open(inode, filp); as your last statement in cmx_open() instead of return 0; to really disable any file pointer positioning (e.g. pwrite/pread too). Addtionally cmx_llseek() is implement already as "no_llseek()" by the VFS, so you delete it from the driver an use no_llseek() from the VFS instead. Regards Ingo Oeser
Attachment:
pgpaWGHKN87v6.pgp
Description: PGP signature
- Follow-Ups:
- Re: [PATCH] New: Omnikey CardMan 4040 PCMCIA Driver
- From: Harald Welte <[email protected]>
- Re: [PATCH] New: Omnikey CardMan 4040 PCMCIA Driver
- Prev by Date: Re: RFC: i386: kill !4KSTACKS
- Next by Date: R: [Linux-ATM-General] [ATMSAR] Request for review - update #1
- Previous by thread: Re: [PATCH] New: Omnikey CardMan 4040 PCMCIA Driver
- Next by thread: Re: [PATCH] New: Omnikey CardMan 4040 PCMCIA Driver
- Index(es):