fix in mount.glusterfs for proper direct io mode option.

fixes the bug which causes GlusterFS not to have valid 'direct-io'
option through mount command or /etc/fstab entries.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
Amar Tumballi 2009-05-06 08:59:21 -07:00 committed by Anand V. Avati
parent 92a84a43e0
commit 542d9ed6c1

View File

@ -75,7 +75,7 @@ start_glusterfs ()
fi
if [ -n "$direct_io_mode" ]; then
cmd_line=$(echo "$cmd_line --direct-io-mode=$direct_io_mode");
cmd_line=$(echo "$cmd_line --disable-direct-io-mode");
fi
if [ -z "$volfile_loc" ]; then