]> git.ozlabs.org Git - petitboot/commit
discover: don't retry mount without ro option
authorJeremy Kerr <jk@ozlabs.org>
Fri, 7 Mar 2014 01:05:00 +0000 (09:05 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 7 Mar 2014 01:05:00 +0000 (09:05 +0800)
commitd8d61e648ebf6a3336820db94244c4251361cf2f
tree2af6489f3c9faff05d59070e625cbd325580d20e
parentf7ace4cc96390a26b0f6c5ee4ff8fe6d7d62ecd0
discover: don't retry mount without ro option

Currently, if the read-only mount fails during device discovery, we
retry without the '-o ro' option. This was originally due to the
read-only mount failing when a device was already mounted elsewhere.

Since we check for exsiting mounts now, we can drop this retry.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c