lkml.org 
[lkml]   [2009]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Staging: POHMELFS: replace I_LOCK with I_NEW
Date
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


\
 
 \ /
  Last update: 2009-12-18 13:35    [W:1.074 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site