diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-30 16:41:12 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-09-30 16:41:12 +0000 |
commit | 004a8c763ea66f91ed7a2a7ea9f28b4a16ba400c (patch) | |
tree | 7a22f525f0528865f52e0f8486ee12235421176e | |
parent | 708b4818f2d0b9a1e277de85a00a0355745a5cd0 (diff) |
fusermount: revert modprobe change
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | util/fusermount.c | 12 |
2 files changed, 4 insertions, 11 deletions
@@ -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; |