[lxc-devel] [PATCH 1/2] bdev: Rename mount_unknow_fs to mount_unknown_fs
Serge Hallyn
serge.hallyn at ubuntu.com
Thu Jan 30 17:17:07 UTC 2014
Quoting Stéphane Graber (stgraber at ubuntu.com):
> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
Picky.
Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>
> ---
> src/lxc/bdev.c | 10 +++++-----
> src/lxc/conf.c | 6 +++---
> 2 files changed, 8 insertions(+), 8 deletions(-)
>
> diff --git a/src/lxc/bdev.c b/src/lxc/bdev.c
> index 09b7ca7..704c058 100644
> --- a/src/lxc/bdev.c
> +++ b/src/lxc/bdev.c
> @@ -146,7 +146,7 @@ static int find_fstype_cb(char* buffer, void *data)
> return 1;
> }
>
> -static int mount_unknow_fs(const char *rootfs, const char *target, int mntopt)
> +static int mount_unknown_fs(const char *rootfs, const char *target, int mntopt)
> {
> int i;
>
> @@ -289,7 +289,7 @@ static int detect_fs(struct bdev *bdev, char *type, int len)
> if (unshare(CLONE_NEWNS) < 0)
> exit(1);
>
> - ret = mount_unknow_fs(srcdev, bdev->dest, 0);
> + ret = mount_unknown_fs(srcdev, bdev->dest, 0);
> if (ret < 0) {
> ERROR("failed mounting %s onto %s to detect fstype", srcdev, bdev->dest);
> exit(1);
> @@ -780,8 +780,8 @@ static int lvm_mount(struct bdev *bdev)
> if (!bdev->src || !bdev->dest)
> return -22;
> /* if we might pass in data sometime, then we'll have to enrich
> - * mount_unknow_fs */
> - return mount_unknow_fs(bdev->src, bdev->dest, 0);
> + * mount_unknown_fs */
> + return mount_unknown_fs(bdev->src, bdev->dest, 0);
> }
>
> static int lvm_umount(struct bdev *bdev)
> @@ -1506,7 +1506,7 @@ static int loop_mount(struct bdev *bdev)
> goto out;
> }
>
> - ret = mount_unknow_fs(loname, bdev->dest, 0);
> + ret = mount_unknown_fs(loname, bdev->dest, 0);
> if (ret < 0)
> ERROR("Error mounting %s\n", bdev->src);
> else
> diff --git a/src/lxc/conf.c b/src/lxc/conf.c
> index 06307b7..501bce5 100644
> --- a/src/lxc/conf.c
> +++ b/src/lxc/conf.c
> @@ -451,7 +451,7 @@ static int find_fstype_cb(char* buffer, void *data)
> return 1;
> }
>
> -static int mount_unknow_fs(const char *rootfs, const char *target, int mntopt)
> +static int mount_unknown_fs(const char *rootfs, const char *target, int mntopt)
> {
> int i;
>
> @@ -585,7 +585,7 @@ static int mount_rootfs_file(const char *rootfs, const char *target)
>
> ret = setup_lodev(rootfs, fd, &loinfo);
> if (!ret)
> - ret = mount_unknow_fs(path, target, 0);
> + ret = mount_unknown_fs(path, target, 0);
> close(fd);
>
> break;
> @@ -599,7 +599,7 @@ static int mount_rootfs_file(const char *rootfs, const char *target)
>
> static int mount_rootfs_block(const char *rootfs, const char *target)
> {
> - return mount_unknow_fs(rootfs, target, 0);
> + return mount_unknown_fs(rootfs, target, 0);
> }
>
> /*
> --
> 1.9.rc1
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
More information about the lxc-devel
mailing list