[SSI] openssi/kernel/cluster/ssi/cfs svrcfs.c,1.25,1.26
Roger Tsang <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv22277/cluster/ssi/cfs
Modified Files:
Tag: OPENSSI-FC
svrcfs.c
Log Message:
CFS:
- Re-enable lockless sct_flags. (#ifdef SVRCFSTOK_SCT_FLAGS_NOLOCK)
Index: svrcfs.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/cluster/ssi/cfs/svrcfs.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- svrcfs.c 27 Oct 2009 03:18:29 -0000 1.25
+++ svrcfs.c 17 Dec 2009 05:39:28 -0000 1.26
@@ -2936,7 +2936,7 @@
* be removed.
*/
#ifdef SVRCFSTOK_SCT_FLAGS_NOLOCK
- if (hp->sct_tokmask == 0 && test_bit(CFS_DELAYUNLNK, &hp->sct_flags)) {
+ if (!hp->sct_tokmask && test_bit(CFS_DELAYUNLNK, &hp->sct_flags)) {
#else
if (hp->sct_tokmask == 0 && (hp->sct_flags & CFS_DELAYUNLNK)) {
#endif
@@ -2972,6 +2972,8 @@
if (IS_ERR(rdentry)) {
up(&(dird->d_inode->i_sem));
error = PTR_ERR(rdentry);
+ printk(KERN_WARNING "%s: lookup %s failed error = %d",
+ __FUNCTION__, name, error);
kfree(name);
dput(dird);
goto skip;
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev