From: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>
To: Stefan Metzmacher <metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
Cc: smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/8] cifs: add "mfsymlinks" mount option
Date: Thu, 05 Aug 2010 17:14:25 +0530 [thread overview]
Message-ID: <4C5AA419.1050005@suse.de> (raw)
In-Reply-To: <1280847960-16371-2-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
On 08/03/2010 08:35 PM, Stefan Metzmacher wrote:
> This is the start for an implementation of "Minshall+French Symlinks"
> (see http://wiki.samba.org/index.php/UNIX_Extensions#Minshall.2BFrench_symlinks).
>
> Signed-off-by: Stefan Metzmacher <metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
> ---
> fs/cifs/README | 5 +++++
> fs/cifs/cifs_fs_sb.h | 1 +
> fs/cifs/cifsfs.c | 2 ++
> fs/cifs/connect.c | 11 +++++++++++
> 4 files changed, 19 insertions(+), 0 deletions(-)
>
> diff --git a/fs/cifs/README b/fs/cifs/README
> index a727b7c..228c239 100644
> --- a/fs/cifs/README
> +++ b/fs/cifs/README
> @@ -517,6 +517,11 @@ A partial list of the supported mount options follows:
> SFU does). In the future the bottom 9 bits of the
> mode also will be emulated using queries of the security
> descriptor (ACL).
> + mfsymlinks Enable support for Minshall+French symlinks
> + (see http://wiki.samba.org/index.php/UNIX_Extensions#Minshall.2BFrench_symlinks)
> + This option is ignored when specified together with the
> + 'sfu' option. Minshall+French symlinks are used event if
nit.. Did you mean "even" here? ^^^^
> + the server supports the CIFS Unix Extensions.
> sign Must use packet signing (helps avoid unwanted data modification
> by intermediate systems in the route). Note that signing
> does not work with lanman or plaintext authentication.
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index 2a43a0a..b3b8752 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -100,6 +100,7 @@ struct smb_vol {
> bool noautotune:1;
> bool nostrictsync:1; /* do not force expensive SMBflush on every sync */
> bool fsc:1; /* enable fscache */
> + bool mfsymlinks:1; /* use Minshall+French Symlinks */
> unsigned int rsize;
> unsigned int wsize;
> bool sockopt_tcp_nodelay:1;
> @@ -1343,6 +1344,8 @@ cifs_parse_mount_options(char *options, const char *devname,
> "/proc/fs/cifs/LookupCacheEnabled to 0\n");
> } else if (strnicmp(data, "fsc", 3) == 0) {
> vol->fsc = true;
> + } else if (strnicmp(data, "mfsymlinks", 22) == 0) {
Why 22 here?
Thanks,
--
Suresh Jayaraman
next prev parent reply other threads:[~2010-08-05 11:44 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 15:05 [CIFS] Support for Minshall+French symlinks Stefan Metzmacher
[not found] ` <1280847960-16371-1-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-03 15:05 ` [PATCH 1/8] cifs: add "mfsymlinks" mount option Stefan Metzmacher
[not found] ` <1280847960-16371-2-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-05 11:44 ` Suresh Jayaraman [this message]
2010-08-03 15:05 ` [PATCH 2/8] cifs: add CIFSCreateMFSymLink() and CIFSQueryMFSymLink() as stubs Stefan Metzmacher
[not found] ` <1280847960-16371-3-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-05 11:50 ` Suresh Jayaraman
2010-08-03 15:05 ` [PATCH 3/8] cifs: add CIFSCheckMFSymlink() as stub Stefan Metzmacher
2010-08-03 15:05 ` [PATCH 4/8] cifs: implement CIFSParseMFSymlink() Stefan Metzmacher
2010-08-03 15:05 ` [PATCH 5/8] cifs: implement CIFSCheckMFSymlink() Stefan Metzmacher
2010-08-03 15:05 ` [PATCH 6/8] cifs: implement CIFSQueryMFSymLink() Stefan Metzmacher
[not found] ` <1280847960-16371-7-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-03 16:31 ` Jeff Layton
2010-08-03 15:05 ` [PATCH 7/8] cifs: implement CIFSFormatMFSymlink() Stefan Metzmacher
2010-08-03 15:06 ` [PATCH 8/8] cifs: implement CIFSCreateMFSymLink() Stefan Metzmacher
[not found] ` <1280847960-16371-9-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-03 15:29 ` Jeff Layton
2010-08-03 18:00 ` [CIFS] Support for Minshall+French symlinks Steve French
[not found] ` <AANLkTinJ1WRBT_Q3TqOZdMQExV66LSUAPG4c01yK-XRK-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-08-04 14:11 ` Stefan Metzmacher
2010-08-04 14:11 ` [PATCH 1/8] cifs: add "mfsymlinks" mount option Stefan Metzmacher
2010-08-04 14:11 ` [PATCH 2/8] cifs: add CIFSCreateMFSymLink() and CIFSQueryMFSymLink() as stubs Stefan Metzmacher
2010-08-04 14:11 ` [PATCH 3/8] cifs: add CIFSCheckMFSymlink() as stub Stefan Metzmacher
[not found] ` <1280931109-22380-4-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-04 14:37 ` Jeff Layton
[not found] ` <20100804103748.521163e6-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-08-05 12:10 ` Suresh Jayaraman
[not found] ` <4C5AAA3C.1000304-l3A5Bk7waGM@public.gmane.org>
2010-08-05 12:31 ` Jeff Layton
[not found] ` <20100805083113.2e7bfbb9-xSBYVWDuneFaJnirhKH9O4GKTjYczspe@public.gmane.org>
2010-08-09 14:04 ` Stefan (metze) Metzmacher
[not found] ` <4C600AEA.607-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-09 14:16 ` Suresh Jayaraman
2010-08-04 14:11 ` [PATCH 4/8] cifs: implement CIFSParseMFSymlink() Stefan Metzmacher
2010-08-04 14:11 ` [PATCH 5/8] cifs: implement CIFSCheckMFSymlink() Stefan Metzmacher
[not found] ` <1280931109-22380-6-git-send-email-metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
2010-08-04 14:22 ` Jeff Layton
2010-08-05 12:44 ` Suresh Jayaraman
[not found] ` <4C5AB228.90800-l3A5Bk7waGM@public.gmane.org>
2010-08-05 15:47 ` Stefan (metze) Metzmacher
2010-08-04 14:11 ` [PATCH 6/8] cifs: implement CIFSQueryMFSymLink() Stefan Metzmacher
2010-08-04 14:11 ` [PATCH 7/8] cifs: implement CIFSFormatMFSymlink() Stefan Metzmacher
2010-08-04 14:11 ` [PATCH 8/8] cifs: implement CIFSCreateMFSymLink() Stefan Metzmacher
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=4C5AA419.1050005@suse.de \
--to=sjayaraman-l3a5bk7wagm@public.gmane.org \
--cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=metze-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
--cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.