summaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-05-27 21:40:47 +0200
committerSteve French <sfrench@us.ibm.com>2009-05-28 17:04:17 +0200
commita0c9217f64ee3cd1e534966da8c5f05768e1ab09 (patch)
treec38584b9ca0376028b3273ce9515e84a3ddb8aec /fs/cifs/connect.c
parentcifs: rename cifs_iget to cifs_root_iget (diff)
downloadlinux-a0c9217f64ee3cd1e534966da8c5f05768e1ab09.tar.xz
linux-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;