1. 04 12月, 2008 2 次提交
  2. 01 12月, 2008 3 次提交
  3. 30 10月, 2008 18 次提交
  4. 21 10月, 2008 1 次提交
  5. 16 10月, 2008 1 次提交
  6. 14 10月, 2008 1 次提交
  7. 17 9月, 2008 1 次提交
    • C
      [XFS] Fix regression introduced by remount fixup · 6efdf281
      Christoph Hellwig 提交于
      Logically we would return an error in xfs_fs_remount code to prevent users
      from believing they might have changed mount options using remount which
      can't be changed.
      
      But unfortunately mount(8) adds all options from mtab and fstab to the
      mount arguments in some cases so we can't blindly reject options, but have
      to check for each specified option if it actually differs from the
      currently set option and only reject it if that's the case.
      
      Until that is implemented we return success for every remount request, and
      silently ignore all options that we can't actually change.
      
      SGI-PV: 985710
      
      SGI-Modid: xfs-linux-melb:xfs-kern:31908a
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
      6efdf281
  8. 13 8月, 2008 11 次提交
  9. 28 7月, 2008 2 次提交
    • L
      [XFS] fix use after free with external logs or real-time devices · c032bfcf
      Lachlan McIlroy 提交于
      SGI-PV: 983806
      
      SGI-Modid: xfs-linux-melb:xfs-kern:31666a
      Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      c032bfcf
    • C
      [XFS] fix mount option parsing in remount · 62a877e3
      Christoph Hellwig 提交于
      Remount currently happily accept any option thrown at it, although the
      only filesystem specific option it actually handles is barrier/nobarrier.
      And it actually doesn't handle these correctly either because it only uses
      the value it parsed when we're doing a ro->rw transition. In addition to
      that there's also a bad bug in xfs_parseargs which doesn't touch the
      actual option in the mount point except for a single one,
      XFS_MOUNT_SMALL_INUMS and thus forced any filesystem that's every
      remounted in some way to not support 64bit inodes with no way to recover
      unless unmounted.
      
      This patch changes xfs_fs_remount to use it's own linux/parser.h based
      options parse instead of xfs_parseargs and reject all options except for
      barrier/nobarrier and to the right thing in general. Eventually I'd like
      to have a single big option table used for mount aswell but that can wait
      for a while.
      
      SGI-PV: 983964
      
      SGI-Modid: xfs-linux-melb:xfs-kern:31382a
      Signed-off-by: NChristoph Hellwig <hch@infradead.org>
      Signed-off-by: NTim Shimmin <tes@sgi.com>
      Signed-off-by: NLachlan McIlroy <lachlan@sgi.com>
      62a877e3