sb-list-fix-20050323
authorDerrick Brashear <shadow@dementia.org>
Thu, 24 Mar 2005 01:53:46 +0000 (01:53 +0000)
committerDerrick Brashear <shadow@dementia.org>
Thu, 24 Mar 2005 01:53:46 +0000 (01:53 +0000)
fix gaffe from my attempt at this

src/afs/afs_vcache.c

index 3eb0830..5188a17 100644 (file)
@@ -958,8 +958,8 @@ restart:
        list_add(&ip->i_sb_list, &ip->i_sb->s_inodes);
 #endif
 #ifdef STRUCT_INODE_HAS_INOTIFY_LOCK
-       INIT_LIST_HEAD(&inode->inotify_watches); 
-       spin_lock_init(&inode->inotify_lock); 
+       INIT_LIST_HEAD(&ip->inotify_watches); 
+       spin_lock_init(&ip->inotify_lock); 
 #endif 
     }
 #endif