From: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
To: Zorro Lang <zlang@redhat.com>, <ltp@lists.linux.it>
Cc: <linux-fsdevel@vger.kernel.org>
Subject: Re: [LTP] [PATCH] syscalls/newmount: new test case for new mount API
Date: Fri, 29 Nov 2019 13:29:35 +0800 [thread overview]
Message-ID: <fa006742-d29d-4d19-c628-30b0454c8f72@cn.fujitsu.com> (raw)
In-Reply-To: <9c487d75-0de0-af8f-a439-d3ce9d965808@cn.fujitsu.com>
on 2019/11/29 11:39, Yang Xu wrote:
> --- /dev/null
> +++ b/include/lapi/newmount.h
> @@ -0,0 +1,106 @@
> +/*
> + * Copyright (C) 2019 Red Hat, Inc. All rights reserved.
> + *
> + * This program is free software; you can redistribute it and/or
> + * modify it under the terms of the GNU General Public License as
> + * published by the Free Software Foundation; either version 2 of
> + * the License, or (at your option) any later version.
> + *
> + * This program is distributed in the hope that it would be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> + * GNU General Public License for more details.
> + *
> + * You should have received a copy of the GNU General Public License
> + * along with this program; if not, write the Free Software Foundation,
> + * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
> + */
> +
> +#ifndef __NEWMOUNT_H__
> +#define __NEWMOUNT_H__
> +
> +#include <stdint.h>
> +#include <unistd.h>
> +#include "lapi/syscalls.h"
> +
> +#if !defined(HAVE_FSOPEN)
When we run make autotools and ./configure, this macro is in
"include/config.h". You should include this header file like other lapi
files.
> +static inline int fsopen(const char *fs_name, unsigned int flags)
> +{
next prev parent reply other threads:[~2019-11-29 5:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-28 17:35 [PATCH] syscalls/newmount: new test case for new mount API Zorro Lang
2019-11-28 19:14 ` Petr Vorel
2019-11-29 3:48 ` Zorro Lang
[not found] ` <9c487d75-0de0-af8f-a439-d3ce9d965808@cn.fujitsu.com>
2019-11-29 5:29 ` Yang Xu [this message]
2019-11-29 11:20 ` [LTP] " Zorro Lang
2019-12-03 13:03 ` Cyril Hrubis
2019-12-06 16:23 ` Zorro Lang
2019-12-06 16:18 ` Cyril Hrubis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fa006742-d29d-4d19-c628-30b0454c8f72@cn.fujitsu.com \
--to=xuyang2018.jy@cn.fujitsu.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=ltp@lists.linux.it \
--cc=zlang@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).