summaryrefslogtreecommitdiff
path: root/mount.h
AgeCommit message (Collapse)AuthorFilesLines
2011-01-31mount.cifs: don't try to alter mtab if it's a symlinkJeff Layton1-0/+1
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>
2010-02-07Initial import of files from samba master branchJeff Layton1-0/+38
(commit 6e510b49c03be9caba4f587f3f6cec547841b0d7)