git.samba.org
/
sahlberg
/
remote-cache.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b46384
)
remove the lock operation
author
root
<root@test1n1.VSOFS1.COM>
Mon, 19 Jan 2009 22:26:27 +0000
(09:26 +1100)
committer
root
<root@test1n1.VSOFS1.COM>
Mon, 19 Jan 2009 22:26:27 +0000
(09:26 +1100)
migrate/remote-cache.c
patch
|
blob
|
history
diff --git
a/migrate/remote-cache.c
b/migrate/remote-cache.c
index 76b04c7b80e09ce5d3456a1e9cd4a21de1bce61a..c75101c0f7fac93aaed4de894f470eb7a7b7e941 100644
(file)
--- a/
migrate/remote-cache.c
+++ b/
migrate/remote-cache.c
@@
-2034,10
+2034,10
@@
finished:
}
+#if 0
static int remote_cache_lock(const char *path, struct fuse_file_info *ffi, int cmd, struct flock *fl)
{
return 0;
-#if 0
int fd;
int ret;
@@
-2070,8
+2070,8
@@
return 0;
finished:
switch_back_to_root();
return ret;
-#endif
}
+#endif
static int remote_cache_open(const char *path, struct fuse_file_info *ffi)
@@
-2195,7
+2195,7
@@
static struct fuse_operations remote_cache_ops = {
-
.lock = remote_cache_lock,
+
//
.lock = remote_cache_lock,
.open = remote_cache_open,
.release = remote_cache_release,