From: Chao Yu Date: Mon, 15 Sep 2014 10:04:44 +0000 (+0800) Subject: f2fs: fix to clean previous mount option when remount_fs X-Git-Tag: fixes-for-v3.18-merge-window~8^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26666c8a4366debae30ae37d0688b2bec92d196a;p=pandora-kernel.git f2fs: fix to clean previous mount option when remount_fs 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: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed