1. 05 Mar, 2010 1 commit
  2. 15 Dec, 2009 1 commit
  3. 24 Nov, 2009 1 commit
  4. 16 Sep, 2009 1 commit
  5. 11 Sep, 2009 2 commits
  6. 10 Sep, 2009 1 commit
  7. 24 Jul, 2009 2 commits
  8. 05 Jul, 2009 4 commits
    • Daniel Mack's avatar
      UBIFS: allow more than one volume to be mounted · 7fcd9c3e
      Daniel Mack authored
      
      UBIFS uses a bdi device per volume, but does not care to hand out unique
      names to each of them. This causes an error when trying to mount more
      than one volumes. Append the UBI volume and device ID to avoid that.
      
      [Amended a bit by Artem Bityutskiy]
      Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
      Cc: Artem Bityutskiy <dedekind@infradead.org>
      Cc: Adrian Hunter <ext-adrian.hunter@nokia.com>
      Cc: linux-mtd@lists.infradead.org
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      7fcd9c3e
    • Artem Bityutskiy's avatar
      UBIFS: fix assertion warning · 1fb8bd01
      Artem Bityutskiy authored
      
      When debugging is enabled and an unclean file-system is mounter,
      the following assertion is triggered:
      
      UBIFS assert failed in ubifs_tnc_start_commit at 805 (pid 1081)
      Call Trace:
      [cfaffbd0] [c0006cf8] show_stack+0x44/0x16c (unreliable)
      [cfaffc10] [c011b738] ubifs_tnc_start_commit+0xbb8/0xd18
      [cfaffc90] [c0112670] do_commit+0x150/0xa44
      [cfaffd10] [c0125234] ubifs_rcvry_gc_commit+0xd8/0x544
      [cfaffd60] [c0100e9c] ubifs_fill_super+0xe78/0x15f8
      [cfaffdf0] [c0102118] ubifs_get_sb+0x20c/0x320
      [cfaffe70] [c007f764] vfs_kern_mount+0x58/0xe0
      [cfaffe90] [c007f83c] do_kern_mount+0x40/0xf8
      [cfaffeb0] [c0095c24] do_mount+0x550/0x758
      [cfafff10] [c0095ebc] sys_mount+0x90/0xe0
      [cfafff40] [c000ed4c] ret_from_syscall+0x0/0x3c
      
      The reason is that we initialize 'c->min_leb_idx' early, and do
      not re-calculate it after journal replay.
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      1fb8bd01
    • Artem Bityutskiy's avatar
      UBIFS: few spelling fixes · cb54ef8b
      Artem Bityutskiy authored
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      cb54ef8b
    • Artem Bityutskiy's avatar
      UBIFS: slightly optimize write-buffer timer usage · 0b335b9d
      Artem Bityutskiy authored
      
      This patch adds the following minor optimization:
      
      1. If write-buffer does not use the timer, indicate it with the
         wbuf->no_timer variable, instead of using the wbuf->softlimit
         variable. This is better because wbuf->softlimit is of ktime_t
         type, and the ktime_to_ns function contains 64-bit multiplication.
      
      2. Do not call the 'hrtimer_cancel()' function for write-buffers
         which do not use timers.
      
      3. Do not cancel the timer in 'ubifs_put_super()' because the
         synchronization function does this.
      
      This patch also removes a confusing comment.
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      0b335b9d
  9. 16 Jun, 2009 1 commit
  10. 11 Jun, 2009 3 commits
  11. 08 Jun, 2009 2 commits
  12. 02 Jun, 2009 1 commit
  13. 26 May, 2009 1 commit
    • Artem Bityutskiy's avatar
      UBIFS: use anonymous device · 7c83f5cb
      Artem Bityutskiy authored
      
      UBIFS has erroneuosly set 'sb->s_dev' to the UBI volume
      character device major/minor. This may lead to clashes
      if there is another FS mounted to a block device with
      the same major/minor numbers. User-space programs which
      use 'stat->st_dev' may get confused because of this.
      
      This problem was found by Al Viro. He also pointed the
      way to fix the problem - use 'set_anon_super()' and
      'kill_anon_super()' VFS helpers.
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      7c83f5cb
  14. 25 May, 2009 1 commit
  15. 09 May, 2009 1 commit
  16. 06 May, 2009 1 commit
  17. 27 Mar, 2009 1 commit
  18. 26 Mar, 2009 1 commit
  19. 20 Mar, 2009 1 commit
    • Hunter Adrian's avatar
      UBIFS: fix compiler warnings · fcabb347
      Hunter Adrian authored
      
      fs/ubifs/super.c: In function ‘ubifs_show_options’:
      fs/ubifs/super.c:425: warning: format not a string literal and no format arguments
      fs/ubifs/super.c: In function ‘mount_ubifs’:
      fs/ubifs/super.c:1204: warning: format not a string literal and no format arguments
      fs/ubifs/super.c: In function ‘ubifs_remount_rw’:
      fs/ubifs/super.c:1557: warning: format not a string literal and no format arguments
      Signed-off-by: default avatarAdrian Hunter <adrian.hunter@nokia.com>
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      fcabb347
  20. 16 Mar, 2009 1 commit
  21. 15 Mar, 2009 1 commit
  22. 29 Jan, 2009 4 commits
  23. 26 Jan, 2009 5 commits
  24. 20 Jan, 2009 1 commit
  25. 18 Jan, 2009 1 commit