Skip to content
Snippets Groups Projects
Select Git revision
  • 861697b170c19f58ed01ee253f415cba01aad30c
  • openEuler-1.0-LTS default protected
  • openEuler-22.09
  • OLK-5.10
  • openEuler-22.03-LTS
  • openEuler-22.03-LTS-Ascend
  • master
  • openEuler-22.03-LTS-LoongArch-NW
  • openEuler-22.09-HCK
  • openEuler-20.03-LTS-SP3
  • openEuler-21.09
  • openEuler-21.03
  • openEuler-20.09
  • 4.19.90-2210.5.0
  • 5.10.0-123.0.0
  • 5.10.0-60.63.0
  • 5.10.0-60.62.0
  • 4.19.90-2210.4.0
  • 5.10.0-121.0.0
  • 5.10.0-60.61.0
  • 4.19.90-2210.3.0
  • 5.10.0-60.60.0
  • 5.10.0-120.0.0
  • 5.10.0-60.59.0
  • 5.10.0-119.0.0
  • 4.19.90-2210.2.0
  • 4.19.90-2210.1.0
  • 5.10.0-118.0.0
  • 5.10.0-106.19.0
  • 5.10.0-60.58.0
  • 4.19.90-2209.6.0
  • 5.10.0-106.18.0
  • 5.10.0-106.17.0
33 results

22b970497

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Darrick J. Wong authored and tangbin committed
    stable inclusion
    from stable-v5.10.143
    commit f1101295c145e9710b1b37e9b0a13ef9af9af0c9
    category: bugfix
    bugzilla: https://gitee.com/openeuler/kernel/issues/I5RTF5
    
    
    CVE: NA
    
    --------------------------------
    
    commit 5885539f upstream.
    
    When quotacheck runs, it zeroes all the timer fields in every dquot.
    Unfortunately, it also does this to the root dquot, which erases any
    preconfigured grace intervals and warning limits that the administrator
    may have set.  Worse yet, the incore copies of those variables remain
    set.  This cache coherence problem manifests itself as the grace
    interval mysteriously being reset back to the defaults at the /next/
    mount.
    
    Fix it by not resetting the root disk dquot's timer and warning fields.
    
    Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    
    Signed-off-by: default avatartangbin <tangbin_yewu@cmss.chinamobile.com>
    861697b1
    History
    Name Last commit Last update