diff options
author | Jeff Layton <jlayton@samba.org> | 2011-01-31 15:04:35 -0500 |
---|---|---|
committer | Jeff Layton <jlayton@samba.org> | 2011-01-31 15:04:35 -0500 |
commit | fba28cfe2f13dd8bdae3cec76178f42b001a40ca (patch) | |
tree | 4a6b522472aea9051a620e1ad546589238c58f89 /asn1.c | |
parent | 51e3999b5fcd76502e05325174f34e0428c4742e (diff) | |
download | cifs-utils-fba28cfe2f13dd8bdae3cec76178f42b001a40ca.tar.gz cifs-utils-fba28cfe2f13dd8bdae3cec76178f42b001a40ca.tar.bz2 cifs-utils-fba28cfe2f13dd8bdae3cec76178f42b001a40ca.zip |
mount.cifs: don't try to alter mtab if it's a symlink
Some distros replace /etc/mtab with a symlink to /proc/mounts. In that
situation, mount.cifs will hang for a while trying to lock the mtab.
/bin/mount checks to see if the mtab is a symlink. If it is or if a
stat() call on it fails, it doesn't try to to update the mtab. Have
mount.cifs do the same.
Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'asn1.c')
0 files changed, 0 insertions, 0 deletions