inode.c (c2132c1bc73d9a279cec148f74ea709c960b3d89) | inode.c (4582a4ab2a0e7218449fb2e895d0aae9ea753c94) |
---|---|
1/* 2 FUSE: Filesystem in Userspace 3 Copyright (C) 2001-2008 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 --- 78 unchanged lines hidden (view full) --- 87 88 fi = get_fuse_inode(inode); 89 fi->i_time = 0; 90 fi->nodeid = 0; 91 fi->nlookup = 0; 92 fi->attr_version = 0; 93 fi->writectr = 0; 94 fi->orig_ino = 0; | 1/* 2 FUSE: Filesystem in Userspace 3 Copyright (C) 2001-2008 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 --- 78 unchanged lines hidden (view full) --- 87 88 fi = get_fuse_inode(inode); 89 fi->i_time = 0; 90 fi->nodeid = 0; 91 fi->nlookup = 0; 92 fi->attr_version = 0; 93 fi->writectr = 0; 94 fi->orig_ino = 0; |
95 fi->state = 0; |
|
95 INIT_LIST_HEAD(&fi->write_files); 96 INIT_LIST_HEAD(&fi->queued_writes); 97 INIT_LIST_HEAD(&fi->writepages); 98 init_waitqueue_head(&fi->page_waitq); 99 fi->forget = fuse_alloc_forget(); 100 if (!fi->forget) { 101 kmem_cache_free(fuse_inode_cachep, inode); 102 return NULL; --- 1198 unchanged lines hidden --- | 96 INIT_LIST_HEAD(&fi->write_files); 97 INIT_LIST_HEAD(&fi->queued_writes); 98 INIT_LIST_HEAD(&fi->writepages); 99 init_waitqueue_head(&fi->page_waitq); 100 fi->forget = fuse_alloc_forget(); 101 if (!fi->forget) { 102 kmem_cache_free(fuse_inode_cachep, inode); 103 return NULL; --- 1198 unchanged lines hidden --- |