1. 11 12月, 2007 19 次提交
  2. 06 12月, 2007 2 次提交
  3. 04 12月, 2007 1 次提交
  4. 03 12月, 2007 11 次提交
  5. 02 12月, 2007 2 次提交
  6. 30 11月, 2007 2 次提交
  7. 21 11月, 2007 2 次提交
  8. 20 11月, 2007 1 次提交
    • J
      [POWERPC] spufs: Fix context destroy vs /spu readdir race · c443acab
      Jeremy Kerr 提交于
      We can currently cause an oops by repeatedly creating and destroying
      contexts, while doing getdents() calls on the "/spu" directory.
      
      This is due to the context's top-level dentry remaining hashed while
      the context is being destroyed.
      
      Fix this by unhashing the context's dentry with the
      dentry->d_inode->i_mutex held. This way, we'll hit the check for
      d_unhashed in dentry_readdir, and won't be included in the
      list of subdirs for /spu.
      
      test: spufs-testsuite:tests/01-spu_create/07-destroy-vs-readdir-race
      Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c443acab