Rename _scratch_mount to _scratch_cycle_mount
authorTheodore Ts'o <tytso@mit.edu>
Thu, 18 Feb 2016 23:44:53 +0000 (10:44 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 18 Feb 2016 23:44:53 +0000 (10:44 +1100)
commit76c21d68150dc6a726997edebefeb477ea07cc78
tree16be7097d2145bd55d49cfad4b5bdd485a76725e
parent9d220d122288fd446cda3d4b2a9b1c00c62e9ac8
Rename _scratch_mount to _scratch_cycle_mount

This makes it clear when we are using "mount ; umount" versus "mount
-o remount" for most file systems.  The reason for this distinction is
(a) tests may want to test the difference between what happens on the
remount versus the munt paths, (b) with tmpfs, "mount ; umount" will
cause the contents of all of the files to disappear which makes many
tests sad, and (c) some mount options may not be changed using "mount
-o remount".

Currently _scratch_mount performs "_scratch_mount ; _scratch_umount"
so mechnically rename this function to _scratch_cycle_mount.  This was
done mechnically using the script fragment:

git grep "_scratch_remount" | \
awk -F: '{print $1}' | sort -u | \
xargs sed -i 's/_scratch_remount/_scratch_cycle_mount/g'

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
134 files changed:
common/defrag
common/rc
tests/btrfs/001
tests/btrfs/005
tests/btrfs/026
tests/btrfs/052
tests/btrfs/081
tests/btrfs/088
tests/btrfs/102
tests/btrfs/103
tests/btrfs/104
tests/btrfs/106
tests/f2fs/001
tests/generic/029
tests/generic/030
tests/generic/031
tests/generic/032
tests/generic/033
tests/generic/071
tests/generic/098
tests/generic/161
tests/generic/162
tests/generic/163
tests/generic/164
tests/generic/165
tests/generic/166
tests/generic/167
tests/generic/168
tests/generic/170
tests/generic/171
tests/generic/172
tests/generic/173
tests/generic/174
tests/generic/175
tests/generic/176
tests/generic/183
tests/generic/185
tests/generic/186
tests/generic/187
tests/generic/188
tests/generic/189
tests/generic/190
tests/generic/191
tests/generic/194
tests/generic/195
tests/generic/196
tests/generic/197
tests/generic/199
tests/generic/200
tests/generic/201
tests/generic/202
tests/generic/203
tests/generic/205
tests/generic/206
tests/generic/216
tests/generic/217
tests/generic/218
tests/generic/220
tests/generic/222
tests/generic/227
tests/generic/229
tests/generic/238
tests/generic/242
tests/generic/243
tests/generic/253
tests/generic/254
tests/generic/259
tests/generic/261
tests/generic/262
tests/generic/264
tests/generic/277
tests/generic/284
tests/generic/287
tests/generic/289
tests/generic/290
tests/generic/291
tests/generic/292
tests/generic/293
tests/generic/295
tests/generic/296
tests/generic/301
tests/generic/302
tests/generic/305
tests/generic/307
tests/generic/326
tests/generic/327
tests/generic/328
tests/generic/330
tests/generic/332
tests/generic/333
tests/generic/334
tests/xfs/127
tests/xfs/139
tests/xfs/140
tests/xfs/180
tests/xfs/182
tests/xfs/184
tests/xfs/192
tests/xfs/193
tests/xfs/198
tests/xfs/200
tests/xfs/204
tests/xfs/207
tests/xfs/208
tests/xfs/209
tests/xfs/211
tests/xfs/212
tests/xfs/213
tests/xfs/214
tests/xfs/215
tests/xfs/218
tests/xfs/219
tests/xfs/221
tests/xfs/223
tests/xfs/224
tests/xfs/225
tests/xfs/226
tests/xfs/228
tests/xfs/230
tests/xfs/231
tests/xfs/232
tests/xfs/233
tests/xfs/239
tests/xfs/241
tests/xfs/243
tests/xfs/245
tests/xfs/248
tests/xfs/249
tests/xfs/251
tests/xfs/254
tests/xfs/255
tests/xfs/256
tests/xfs/257
tests/xfs/258