mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Staging: POHMELFS: replace I_LOCK with I_NEW
@ 2009-12-18 12:33 Alexander Beregalov
  0 siblings, 0 replies; only message in thread
From: Alexander Beregalov @ 2009-12-18 12:33 UTC (permalink / raw)
  To: gregkh, linux-kernel; +Cc: zbr, Alexander Beregalov

See commit eaff8079 (kill I_LOCK)
Fix build error.

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

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-18 12:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-18 12:33 [PATCH] Staging: POHMELFS: replace I_LOCK with I_NEW Alexander Beregalov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®