2009-12-18 12:32:47

by Alexander Beregalov

[permalink] [raw]
Subject: [PATCH] Staging: POHMELFS: replace I_LOCK with I_NEW

See commit eaff8079 (kill I_LOCK)
Fix build error.

Signed-off-by: Alexander Beregalov <[email protected]>

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