1. 24 3月, 2006 1 次提交
    • T
      [PATCH] vfs: MS_VERBOSE should be MS_SILENT · 9b04c997
      Theodore Ts'o 提交于
      The meaning of MS_VERBOSE is backwards; if the bit is set, it really means,
      "don't be verbose".  This is confusing and counter-intuitive.
      
      In addition, there is also no way to set the MS_VERBOSE flag in the
      mount(8) program in util-linux, but interesting, it does define options
      which would do the right thing if MS_SILENT were defined, which
      unfortunately we do not:
      
      #ifdef MS_SILENT
        { "quiet",    0, 0, MS_SILENT    },   /* be quiet  */
        { "loud",     0, 1, MS_SILENT    },   /* print out messages. */
      #endif
      
      So the obvious fix is to deprecate the use of MS_VERBOSE and replace it
      with MS_SILENT.
      Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b04c997
  2. 10 3月, 2006 1 次提交
  3. 09 3月, 2006 1 次提交
  4. 15 1月, 2006 1 次提交
  5. 12 1月, 2006 1 次提交
  6. 29 11月, 2005 1 次提交
    • T
      [JFFS2] Fix the slab cache constructor of 'struct jffs2_inode_info' objects. · 21eeb7aa
      Thomas Gleixner 提交于
      JFFS2 initialize f->sem mutex as "locked" in the slab constructor which is a
      bug. Objects are freed with unlocked f->sem mutex. So, when they allocated
      again, f->sem is unlocked because the slab cache constructor is not called for
      them. The constructor is called only once when memory pages are allocated for
      objects (namely, when the slab layer allocates new slabs). So, sometimes
      'struct jffs2_inode_info' are allocated with unlocked f->sem, sometimes with
      locked. This is a bug. Instead, initialize f->sem as unlocked in the
      constructor. I.e., in the "constructed" state f->sem must be unlocked.
      
      From: Keijiro Yano <keijiro_yano@yahoo.co.jp>
      Acked-by: NArtem B. Bityutskiy <dedekind@infradead.org>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      21eeb7aa
  7. 24 11月, 2005 1 次提交
  8. 14 11月, 2005 1 次提交
  9. 07 11月, 2005 32 次提交