• T
    ext4: ext4_mark_recovery_complete() doesn't need to use lock_super · a63c9eb2
    Theodore Ts'o 提交于
    The function ext4_mark_recovery_complete() is called from two call
    paths: either (a) while mounting the filesystem, in which case there's
    no danger of any other CPU calling write_super() until the mount is
    completed, and (b) while remounting the filesystem read-write, in
    which case the fs core has already locked the superblock.  This also
    allows us to take out a very vile unlock_super()/lock_super() pair in
    ext4_remount().
    Signed-off-by: N"Theodore Ts'o" <tytso@mit.edu>
    a63c9eb2
super.c 111.7 KB