We currently protect the per-inode state flags with the inode_lock.Using a global lock to protect per-object state is overkill when wecoul duse a per-inode lock to protect the state. Use theinode->i_lock for this, and wrap all the state changes and checkswith the inode->i_lock.