Skip to contentSkip to conversation

Staging: POHMELFS: replace I_LOCK with I_NEW

PATCH New Alexander Beregalov 1 participant 1 message Dec 18, 2009 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: POHMELFS: replace I_LOCK with I_NEW

See commit eaff8079 (kill I_LOCK)
Fix build error.

drivers/staging/pohmelfs/dir.c +1 -1
index 6c5b261..368968f 100644
@@ -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;
 }
Signature · 1 line
1.6.6.rc3