super.c (8632987380765dee716d460640aa58d58d52998e) | super.c (1744a22ae948799da7927b53ec97ccc877ff9d61) |
---|---|
1/* AFS superblock handling 2 * 3 * Copyright (c) 2002, 2007, 2018 Red Hat, Inc. All rights reserved. 4 * 5 * This software may be freely redistributed under the terms of the 6 * GNU General Public License. 7 * 8 * You should have received a copy of the GNU General Public License --- 653 unchanged lines hidden (view full) --- 662 mutex_init(&vnode->io_lock); 663 init_rwsem(&vnode->validate_lock); 664 spin_lock_init(&vnode->wb_lock); 665 spin_lock_init(&vnode->lock); 666 INIT_LIST_HEAD(&vnode->wb_keys); 667 INIT_LIST_HEAD(&vnode->pending_locks); 668 INIT_LIST_HEAD(&vnode->granted_locks); 669 INIT_DELAYED_WORK(&vnode->lock_work, afs_lock_work); | 1/* AFS superblock handling 2 * 3 * Copyright (c) 2002, 2007, 2018 Red Hat, Inc. All rights reserved. 4 * 5 * This software may be freely redistributed under the terms of the 6 * GNU General Public License. 7 * 8 * You should have received a copy of the GNU General Public License --- 653 unchanged lines hidden (view full) --- 662 mutex_init(&vnode->io_lock); 663 init_rwsem(&vnode->validate_lock); 664 spin_lock_init(&vnode->wb_lock); 665 spin_lock_init(&vnode->lock); 666 INIT_LIST_HEAD(&vnode->wb_keys); 667 INIT_LIST_HEAD(&vnode->pending_locks); 668 INIT_LIST_HEAD(&vnode->granted_locks); 669 INIT_DELAYED_WORK(&vnode->lock_work, afs_lock_work); |
670 INIT_LIST_HEAD(&vnode->cb_mmap_link); |
|
670 seqlock_init(&vnode->cb_lock); 671} 672 673/* 674 * allocate an AFS inode struct from our slab cache 675 */ 676static struct inode *afs_alloc_inode(struct super_block *sb) 677{ --- 99 unchanged lines hidden --- | 671 seqlock_init(&vnode->cb_lock); 672} 673 674/* 675 * allocate an AFS inode struct from our slab cache 676 */ 677static struct inode *afs_alloc_inode(struct super_block *sb) 678{ --- 99 unchanged lines hidden --- |