On Tue, Jul 08, 2008 at 04:15:00PM +0200, Ingo van Lil wrote:
> The call stack for truncating the file:
>
> - sys_open (fs/open.c)
> - do_sys_open (fs/open.c)
> - do_filp_open (fs/open.c)
> - open_namei (fs/namei.c)
> - may_open (fs/namei.c)
> - do_truncate (fs/open.c)
>
> And the call stack for actually opening the file:
>
> - sys_open (fs/open.c)
> - do_sys_open (fs/open.c)
> - do_filp_open (fs/open.c)
> - nameidata_to_filp (fs/open.c)
> - __dentry_open (fs/open.c)
>
> Maybe that helps.
Yeah, I was suspecting that something was causing operations on the
file before hostfs was asked to actually open it. Hmm.
Jeff
--
Work email - jdike at linux dot intel dot com
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel