mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* filp_open fail with ENOTDIR in kernel 2.6.16
@ 2006-11-24  2:46 Zhao Xiaoming
  2006-11-24  2:59 ` Zhao Xiaoming
  0 siblings, 1 reply; 2+ messages in thread
From: Zhao Xiaoming @ 2006-11-24  2:46 UTC (permalink / raw)
  To: linux-kernel

I'm porting some kernel module codes from kernel 2.4 to 2.6. The codes
used to work well under 2.4 kernel. In 2.6 environment, the problem is
filp_open("/root/test.txt",O_RDONLY,0) always return -20 (ENOTDIR).
But the regular file "/root/test.txt" does exist. What's wrong?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-24  2:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-24  2:46 filp_open fail with ENOTDIR in kernel 2.6.16 Zhao Xiaoming
2006-11-24  2:59 ` Zhao Xiaoming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®