lkml.org 
[lkml]   [1998]   [Jan]   [30]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: patch for minix fs -- need testers!
FromAndreas Schwab <>
Date30 Jan 1998 10:52:03 +0100
Bill Hawes <whawes@star.net> writes:

|> I looked through your patch and did have one reservation -- I'm not sure that
|> modifying the argument qstr in the dentry_op hash function is properly
|> supported. There's currently no precedent for doing this you might also
|> need to modify the name string for null termination.

No.  lookup_dentry doesn't terminate it either, and nothing depends on it.
There's no place for the null anyway.  I don't see a problem with this.
The qstr has just been freshly allocated.  This works as if lookup_dentry
had stopped after s_namelen chars by itself.  Also, i want the truncated
name to be used by d_path.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org

\
 
 \ /
  Last update: 2005-03-22 12:41    [from the cache]
©2003-2008