From 434ae034a058b7c7d2431b9d9ad5610b95329006 Mon Sep 17 00:00:00 2001 From: szaka Date: Tue, 5 Feb 2008 22:22:29 +0000 Subject: [PATCH] do_mount(): remove unused rootsize argument --- libfuse-lite/fusermount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libfuse-lite/fusermount.c b/libfuse-lite/fusermount.c index fbe9abb6..c88955e9 100644 --- a/libfuse-lite/fusermount.c +++ b/libfuse-lite/fusermount.c @@ -366,7 +366,7 @@ static int get_string_opt(const char *s, unsigned len, const char *opt, static int do_mount(const char *mnt, char **typep, mode_t rootmode, int fd, const char *opts, const char *dev, char **sourcep, - char **mnt_optsp, off_t rootsize) + char **mnt_optsp) { int res; int flags = MS_NOSUID | MS_NODEV; @@ -717,7 +717,7 @@ static int mount_fuse(const char *mnt, const char *opts) restore_privs(); if (res != -1) res = do_mount(real_mnt, &type, stbuf.st_mode & S_IFMT, fd, opts, - dev, &source, &mnt_opts, stbuf.st_size); + dev, &source, &mnt_opts); } else restore_privs();