[stgt] [PATCH 2/2] tgt-admin: check if device is mounted on /

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Tue Sep 23 09:30:37 CEST 2008


On Thu, 11 Sep 2008 17:33:14 +0300
Doron Shoham <dorons at Voltaire.COM> wrote:

> deny allocation of a device which
> mounted on the same device as rootfs.
> also deny the allocation of swap devices.
> using --force flag for overriding this.
> 
> Signed-off-by: Doron Shoham <dorons at voltaire.com>
> ---
>  scripts/tgt-admin |   87 +++++++++++++++++++++++++++++++++++++++++++++++++----

Applied, thanks.

git-am gave the following errors:

Applying tgt-admin: check if device is mounted on root directory
.dotest/patch:66: trailing whitespace.

.dotest/patch:77: trailing whitespace.

.dotest/patch:92: trailing whitespace.
sub find_rootfs_device {
.dotest/patch:105: trailing whitespace.
                chomp $line;
.dotest/patch:121: trailing whitespace.
                chomp $line;
warning: 5 lines add whitespace errors.


I fixed the above errors this time.

Please make sure you can apply a patch with git-am before sending it.
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list