summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-12-30 21:45:20 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-01-14 23:23:53 -0800
commite6f074f93195b2e7d92812f26782e8dc281a1329 (patch)
treefecdb89aefdc58af7224453d733fb96f019ca1ff /libglusterfs/src
parent5522f6eaef99616efe01b8f4688be0486e511b12 (diff)
default log file now doesn't start with '-'v3.0.1rc1
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 490 (Default log file path should not begin with '-') URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=490
Diffstat (limited to 'libglusterfs/src')
0 files changed, 0 insertions, 0 deletions
o-cache/src/io-cache.c
index 00d95857db1..4d5ffe29298 100644
--- a/xlators/performance/io-cache/src/io-cache.c
+++ b/xlators/performance/io-cache/src/io-cache.c
@@ -700,12 +700,9 @@ ioc_create_cbk (call_frame_t *frame,
weight = ioc_get_priority (table, path);
ioc_inode = ioc_inode_update (table, inode, weight);
- LOCK (&fd->inode->lock);
- {
- inode_ctx_put (fd->inode, this,
- (uint64_t)(long)ioc_inode);
- }
- UNLOCK (&fd->inode->lock);
+
+ inode_ctx_put (fd->inode, this,
+ (uint64_t)(long)ioc_inode);
}
/* If mandatory locking has been enabled on this file,
we disable caching on it */