1. 17 3月, 2006 1 次提交
  2. 09 1月, 2006 3 次提交
  3. 28 9月, 2005 1 次提交
    • L
      [PATCH] v9fs: fix races in fid allocation · 0b8dd177
      Latchesar Ionkov 提交于
      Fid management cleanup.  The patch attempts to fix the races in dentry's
      fid management.
      
      Dentries don't keep the opened fids anymore, they are moved to the file
      structs.  Ideally there should be no more than one fid with fidcreate equal
      to zero in the dentry's list of fids.
      
      v9fs_fid_create initializes the important fields (fid, fidcreated) before
      v9fs_fid is added to the list.  v9fs_fid_lookup returns only fids that are
      not created by v9fs_create.  v9fs_fid_get_created returns the fid created
      by the same process by v9fs_create (if any) and removes it from dentry's
      list
      Signed-off-by: NLatchesar Ionkov <lucho@ionkov.net>
      Cc: Eric Van Hensbergen <ericvh@gmail.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      0b8dd177
  4. 10 9月, 2005 1 次提交