diff options
Diffstat (limited to 'fs/coda/inode.c')
-rw-r--r-- | fs/coda/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/coda/inode.c b/fs/coda/inode.c index bfe8179b1295..0553f3bd7b1b 100644 --- a/fs/coda/inode.c +++ b/fs/coda/inode.c | |||
@@ -16,6 +16,7 @@ | |||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | #include <linux/unistd.h> | 17 | #include <linux/unistd.h> |
18 | #include <linux/smp_lock.h> | 18 | #include <linux/smp_lock.h> |
19 | #include <linux/spinlock.h> | ||
19 | #include <linux/file.h> | 20 | #include <linux/file.h> |
20 | #include <linux/vfs.h> | 21 | #include <linux/vfs.h> |
21 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
@@ -51,6 +52,7 @@ static struct inode *coda_alloc_inode(struct super_block *sb) | |||
51 | ei->c_flags = 0; | 52 | ei->c_flags = 0; |
52 | ei->c_uid = 0; | 53 | ei->c_uid = 0; |
53 | ei->c_cached_perm = 0; | 54 | ei->c_cached_perm = 0; |
55 | spin_lock_init(&ei->c_lock); | ||
54 | return &ei->vfs_inode; | 56 | return &ei->vfs_inode; |
55 | } | 57 | } |
56 | 58 | ||