[PATCH] Staging: POHMELFS: replace I_LOCK with I_NEW

From: Alexander Beregalov
Date: Fri Dec 18 2009 - 07:32:52 EST


See commit eaff8079 (kill I_LOCK)
Fix build error.

Signed-off-by: Alexander Beregalov <a.beregalov@xxxxxxxxx>

diff --git a/drivers/staging/pohmelfs/dir.c b/drivers/staging/pohmelfs/dir.c
index 6c5b261..368968f 100644
--- a/drivers/staging/pohmelfs/dir.c
+++ b/drivers/staging/pohmelfs/dir.c
@@ -723,7 +723,7 @@ static int pohmelfs_remove_entry(struct inode *dir, struct dentry *dentry)
inode_dec_link_count(inode);
}
dprintk("%s: inode: %p, lock: %ld, unhashed: %d.\n",
- __func__, pi, inode->i_state & I_LOCK, hlist_unhashed(&inode->i_hash));
+ __func__, pi, inode->i_state & I_NEW, hlist_unhashed(&inode->i_hash));

return err;
}
--
1.6.6.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/