inode.c (9ffbb9162312fd8113037cb3d94f787f06bbfa9a) inode.c (8da5ff23ce0a84d9845b01e6fe5047e17836bf5a)
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2006 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

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

190 /* Inode has changed type, any I/O on the old should fail */
191 make_bad_inode(inode);
192 iput(inode);
193 retried = 1;
194 goto retry;
195 }
196
197 fi = get_fuse_inode(inode);
1/*
2 FUSE: Filesystem in Userspace
3 Copyright (C) 2001-2006 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

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

190 /* Inode has changed type, any I/O on the old should fail */
191 make_bad_inode(inode);
192 iput(inode);
193 retried = 1;
194 goto retry;
195 }
196
197 fi = get_fuse_inode(inode);
198 spin_lock(&fc->lock);
198 fi->nlookup ++;
199 fi->nlookup ++;
200 spin_unlock(&fc->lock);
199 fuse_change_attributes(inode, attr);
200 return inode;
201}
202
203static void fuse_umount_begin(struct vfsmount *vfsmnt, int flags)
204{
205 if (flags & MNT_FORCE)
206 fuse_abort_conn(get_fuse_conn_super(vfsmnt->mnt_sb));

--- 508 unchanged lines hidden ---
201 fuse_change_attributes(inode, attr);
202 return inode;
203}
204
205static void fuse_umount_begin(struct vfsmount *vfsmnt, int flags)
206{
207 if (flags & MNT_FORCE)
208 fuse_abort_conn(get_fuse_conn_super(vfsmnt->mnt_sb));

--- 508 unchanged lines hidden ---