diff --git a/sources/main.c b/sources/main.c index a625b69..14d4c4d 100644 --- a/sources/main.c +++ b/sources/main.c @@ -25,25 +25,6 @@ static int icfs_getattr(const char *path, struct stat *stbuf, int statret = source_stat(path, stbuf); - //(void)fi; - - /* - int res = 0; - - memset(stbuf, 0, sizeof(struct stat)); - if (strcmp(path, "/") == 0) { - stbuf->st_mode = S_IFDIR | 0755; - stbuf->st_nlink = 2; - } else if (strcmp(path + 1, options.filename) == 0) { - stbuf->st_mode = S_IFREG | 0444; - stbuf->st_nlink = 1; - stbuf->st_size = strlen(options.contents); - } else - res = -ENOENT; - - */ - // return res; - return statret; }