summaryrefslogtreecommitdiff
path: root/checkopts
diff options
context:
space:
mode:
authorSimon Arlott <simon@octiron.net>2020-11-26 00:28:08 +0000
committerPavel Shilovsky <pshilov@microsoft.com>2020-12-16 15:51:27 -0800
commit8f46aaadffde42ef0c89e97c0443ee7944708d94 (patch)
tree97a41bb94ec9fb8f273e0cc3a8821903a61996da /checkopts
parent4205fdc411701ffc323769d41508e0875b9d63d4 (diff)
downloadcifs-utils-8f46aaadffde42ef0c89e97c0443ee7944708d94.tar.gz
cifs-utils-8f46aaadffde42ef0c89e97c0443ee7944708d94.tar.bz2
cifs-utils-8f46aaadffde42ef0c89e97c0443ee7944708d94.zip
Add missing position handling to mount parameters gid/backup_gid/snapshot
The code tries to optimise for the last parameter not needing to update the position which means that every time a new one is added to the end by copying and pasting, the string position is not updated. That makes it impossible to use backup_uid=/backup_gid=/snapshot= after gid= or snapshot= after backup_gid= because part of the string is overwritten and contains invalid keys like "gbackup_uid". Prepare for the next parameter to be added on the end by updating the position for snapshot= even though it will be unused.
Diffstat (limited to 'checkopts')
0 files changed, 0 insertions, 0 deletions