All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cifs: fsc should not default to "on"
@ 2010-07-26 18:25 Jeff Layton
       [not found] ` <1280168708-2943-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Layton @ 2010-07-26 18:25 UTC (permalink / raw)
  To: smfrench-Re5JQEeQqe8AvxtiuMwx3w
  Cc: sjayaraman-l3A5Bk7waGM, linux-cifs-u79uwXL29TY76Z2rM5mHXA

I'm not sure why this was merged with this flag hardcoded on, but it
seems quite dangerous. Turn it off.

Also, mount.cifs hands unrecognized options off to the kernel so there
should be no need for changes there in order to support this.

Signed-off-by: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 fs/cifs/connect.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index 85a994c..2a43a0a 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -846,9 +846,6 @@ cifs_parse_mount_options(char *options, const char *devname,
 	/* default to using server inode numbers where available */
 	vol->server_ino = 1;
 
-	/* XXX: default to fsc for testing until mount.cifs pieces are done */
-	vol->fsc = 1;
-
 	if (!options)
 		return 1;
 
-- 
1.7.1.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] cifs: fsc should not default to "on"
       [not found] ` <1280168708-2943-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2010-07-26 18:50   ` Steve French
  2010-07-27 13:40   ` Suresh Jayaraman
  1 sibling, 0 replies; 3+ messages in thread
From: Steve French @ 2010-07-26 18:50 UTC (permalink / raw)
  To: Jeff Layton; +Cc: sjayaraman-l3A5Bk7waGM, linux-cifs-u79uwXL29TY76Z2rM5mHXA

agreed - merged

On Mon, Jul 26, 2010 at 1:25 PM, Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> I'm not sure why this was merged with this flag hardcoded on, but it
> seems quite dangerous. Turn it off.
>
> Also, mount.cifs hands unrecognized options off to the kernel so there
> should be no need for changes there in order to support this.
>
> Signed-off-by: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
>  fs/cifs/connect.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
>
> diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
> index 85a994c..2a43a0a 100644
> --- a/fs/cifs/connect.c
> +++ b/fs/cifs/connect.c
> @@ -846,9 +846,6 @@ cifs_parse_mount_options(char *options, const char *devname,
>        /* default to using server inode numbers where available */
>        vol->server_ino = 1;
>
> -       /* XXX: default to fsc for testing until mount.cifs pieces are done */
> -       vol->fsc = 1;
> -
>        if (!options)
>                return 1;
>
> --
> 1.7.1.1
>
>



-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cifs: fsc should not default to "on"
       [not found] ` <1280168708-2943-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  2010-07-26 18:50   ` Steve French
@ 2010-07-27 13:40   ` Suresh Jayaraman
  1 sibling, 0 replies; 3+ messages in thread
From: Suresh Jayaraman @ 2010-07-27 13:40 UTC (permalink / raw)
  To: Jeff Layton
  Cc: smfrench-Re5JQEeQqe8AvxtiuMwx3w,
	linux-cifs-u79uwXL29TY76Z2rM5mHXA

On 07/26/2010 11:55 PM, Jeff Layton wrote:
> I'm not sure why this was merged with this flag hardcoded on, but it
> seems quite dangerous. Turn it off.

Mea culpa.. I forgot to remove this during the second post.

> Also, mount.cifs hands unrecognized options off to the kernel so there
> should be no need for changes there in order to support this.

Yeah, it does not seem to require any handling - I had misunderstood.

> Signed-off-by: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
>  fs/cifs/connect.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)

Reviewed-and-Tested-by: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>


Thanks,

-- 
Suresh Jayaraman

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-27 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-26 18:25 [PATCH] cifs: fsc should not default to "on" Jeff Layton
     [not found] ` <1280168708-2943-1-git-send-email-jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-07-26 18:50   ` Steve French
2010-07-27 13:40   ` Suresh Jayaraman

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.