• Chao Yu's avatar
    f2fs: fix to clean previous mount option when remount_fs · 26666c8a
    Chao Yu authored
    In manual of mount, we descript remount as below:
    
    "mount -o remount,rw /dev/foo /dir
    After  this call all old mount options are replaced and arbitrary stuff from
    fstab is ignored, except the loop= option which is internally generated and
    maintained by the mount command."
    
    Previously f2fs do not clear up old mount options when remount_fs, so we have no
    chance of disabling previous option (e.g. flush_merge). Fix it.
    Signed-off-by: default avatarChao Yu <chao2.yu@samsung.com>
    Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
    26666c8a
super.c 31 KB