inode.c (de5f12025572ef8fcffa4be5453061725acfb754) inode.c (1d3d752b471d2a3a1d5e4fe177e5e7d52abb4e4c)
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2005 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 471 unchanged lines hidden (view full) ---

480 return PTR_ERR(fc);
481
482 fc->flags = d.flags;
483 fc->user_id = d.user_id;
484 fc->group_id = d.group_id;
485 fc->max_read = d.max_read;
486 if (fc->max_read / PAGE_CACHE_SIZE < fc->bdi.ra_pages)
487 fc->bdi.ra_pages = fc->max_read / PAGE_CACHE_SIZE;
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2005 Miklos Szeredi <miklos@szeredi.hu>
4
5 This program can be distributed under the terms of the GNU GPL.
6 See the file COPYING.
7*/
8

--- 471 unchanged lines hidden (view full) ---

480 return PTR_ERR(fc);
481
482 fc->flags = d.flags;
483 fc->user_id = d.user_id;
484 fc->group_id = d.group_id;
485 fc->max_read = d.max_read;
486 if (fc->max_read / PAGE_CACHE_SIZE < fc->bdi.ra_pages)
487 fc->bdi.ra_pages = fc->max_read / PAGE_CACHE_SIZE;
488 fc->max_write = FUSE_MAX_IN / 2;
488 fc->max_write = FUSE_MAX_WRITE;
489
490 err = -ENOMEM;
491 root = get_root_inode(sb, d.rootmode);
492 if (root == NULL)
493 goto err;
494
495 sb->s_root = d_alloc_root(root);
496 if (!sb->s_root) {

--- 98 unchanged lines hidden ---
489
490 err = -ENOMEM;
491 root = get_root_inode(sb, d.rootmode);
492 if (root == NULL)
493 goto err;
494
495 sb->s_root = d_alloc_root(root);
496 if (!sb->s_root) {

--- 98 unchanged lines hidden ---