summaryrefslogtreecommitdiff
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-05-27 15:40:47 -0400
committerSteve French <sfrench@us.ibm.com>2009-05-28 15:04:17 +0000
commita0c9217f64ee3cd1e534966da8c5f05768e1ab09 (patch)
treec38584b9ca0376028b3273ce9515e84a3ddb8aec /fs/cifs/connect.c
parentbd433d4cf4d8593a5f1764776b91f1794fce5a77 (diff)
downloadlwn-a0c9217f64ee3cd1e534966da8c5f05768e1ab09.tar.gz
lwn-a0c9217f64ee3cd1e534966da8c5f05768e1ab09.zip
cifs: make serverino the default when mounting
Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/connect.c')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index f32c9036741e..8ae563f028bc 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -835,6 +835,8 @@ cifs_parse_mount_options(char *options, const char *devname,
vol->rw = true;
/* default is always to request posix paths. */
vol->posix_paths = 1;
+ /* default to using server inode numbers where available */
+ vol->server_ino = 1;
if (!options)
return 1;