aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--util/fusermount.c12
2 files changed, 4 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 942c2d9..9846bf4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2006-09-30 Miklos Szeredi <miklos@szeredi.hu>
+ * fusermount: revert modprobe change (2006-08-18) since it
+ doesn't work reliably with udev
+
* Add support for block device backed filesystems. This mode is
selected with the 'blkdev' option, which is privileged.
diff --git a/util/fusermount.c b/util/fusermount.c
index 1843f50..dc30fde 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -851,17 +851,7 @@ static int try_open_fuse_device(char **devp)
static int open_fuse_device(char **devp)
{
- int fd;
-
- if (getuid() == 0) {
- fd = try_open_fuse_device(devp);
- if (fd >= -1)
- return fd;
-
- system("modprobe fuse");
- }
-
- fd = try_open_fuse_device(devp);
+ int fd = try_open_fuse_device(devp);
if (fd >= -1)
return fd;