Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O odroid-linux-3.10.y-rt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • oai
  • odroid-linux-3.10.y-rt
  • Repository

Switch branch/tag
  • odroid-linux-3.10.y-rt
  • fs
  • reiserfs
  • file.c
Find file BlameHistoryPermalink
  • Hisashi Hifumi's avatar
    [PATCH] reiserfs: fix journaling issue regarding fsync() · 73ce5934
    Hisashi Hifumi authored Jul 10, 2006
    
    
    When write() extends a file(i_size is increased) and fsync() is called,
    change of inode must be written to journaling area through fsync().
    But,currently the i_trans_id is not correctly updated when i_size is
    increased.  So fsync() does not kick the journal writer.
    
    Reiserfs_file_write() already updates the transaction when blocks are
    allocated, but the case when i_size increases and new blocks are not added
    is not correctly treated.
    
    Following patch fix this bug.
    Signed-off-by: default avatarHisashi Hifumi <hifumi.hisashi@oss.ntt.co.jp>
    Cc: Jeff Mahoney <jeffm@suse.com>
    Cc: Chris Mason <mason@suse.com>
    Cc: Hans Reiser <reiser@namesys.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    73ce5934

Replace file.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.