1. 12 6月, 2009 10 次提交
  2. 09 5月, 2009 2 次提交
  3. 21 4月, 2009 1 次提交
  4. 20 4月, 2009 1 次提交
  5. 01 4月, 2009 3 次提交
  6. 28 3月, 2009 1 次提交
  7. 27 3月, 2009 2 次提交
  8. 18 2月, 2009 1 次提交
    • A
      Fix incomplete __mntput locking · 1a88b536
      Al Viro 提交于
      Getting this wrong caused
      
      	WARNING: at fs/namespace.c:636 mntput_no_expire+0xac/0xf2()
      
      due to optimistically checking cpu_writer->mnt outside the spinlock.
      
      Here's what we really want:
       * we know that nobody will set cpu_writer->mnt to mnt from now on
       * all changes to that sucker are done under cpu_writer->lock
       * we want the laziest equivalent of
      	spin_lock(&cpu_writer->lock);
      	if (likely(cpu_writer->mnt != mnt)) {
      		spin_unlock(&cpu_writer->lock);
      		continue;
      	}
      	/* do stuff */
        that would make sure we won't miss earlier setting of ->mnt done by
        another CPU.
      
      Anyway, for now we just move the spin_lock() earlier and move the test
      into the properly locked region.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Reported-and-tested-by: NLi Zefan <lizf@cn.fujitsu.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      1a88b536
  9. 14 1月, 2009 2 次提交
  10. 01 1月, 2009 1 次提交
  11. 14 11月, 2008 1 次提交
  12. 13 11月, 2008 1 次提交
  13. 23 10月, 2008 3 次提交
  14. 01 8月, 2008 1 次提交
  15. 27 7月, 2008 4 次提交
  16. 14 7月, 2008 1 次提交
  17. 30 4月, 2008 1 次提交
  18. 29 4月, 2008 1 次提交
  19. 28 4月, 2008 1 次提交
  20. 25 4月, 2008 1 次提交
  21. 23 4月, 2008 1 次提交