[Ocfs2-tools-devel] [PATCH 1/1] o2image fix compiler warning
Sunil Mushran
sunil.mushran at oracle.com
Fri Apr 16 16:26:28 PDT 2010
sob
Srinivas Eeda wrote:
> patch fixes a compiler warning in libocfs2/image.c
>
> Signed-off-by: Srinivas Eeda <srinivas.eeda at oracle.com>
> ---
> libocfs2/image.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libocfs2/image.c b/libocfs2/image.c
> index b57cf8e..0a1eeb8 100644
> --- a/libocfs2/image.c
> +++ b/libocfs2/image.c
> @@ -67,7 +67,7 @@ errcode_t ocfs2_image_free_bitmap(ocfs2_filesys *ofs)
> int i;
>
> /* image bitmaps are allocated only for ocfs2 image image files */
> - if (!ofs->fs_flags & OCFS2_FLAG_IMAGE_FILE)
> + if (!(ofs->fs_flags & OCFS2_FLAG_IMAGE_FILE))
> return 0;
>
> if (!ost->ost_bmparr)
>
More information about the Ocfs2-tools-devel
mailing list