On Fri, 9 Jan 2015 06:31:55 -0800
Christoph Hellwig wrote:
> > void ceph_count_locks(struct inode *inode, int *fcntl_count, int
> > *flock_count)
> > {
> > struct file_lock *lock;
> > + struct file_lock_context *ctx;
> >
> > *fcntl_count = 0;
> > *flock_count = 0;
> >
> > +
> void ceph_count_locks(struct inode *inode, int *fcntl_count, int
> *flock_count)
> {
> struct file_lock *lock;
> + struct file_lock_context *ctx;
>
> *fcntl_count = 0;
> *flock_count = 0;
>
> + spin_lock(&inode->i_lock);
Seems like moving the locking around is un
2 matches
Mail list logo