summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfsclient')
-rwxr-xr-xlibglusterfsclient/src/libglusterfsclient.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.c b/libglusterfsclient/src/libglusterfsclient.c
index f5465c841fa..89a7dff8ac0 100755
--- a/libglusterfsclient/src/libglusterfsclient.c
+++ b/libglusterfsclient/src/libglusterfsclient.c
@@ -1588,7 +1588,7 @@ libgf_client_lookup_cbk (call_frame_t *frame,
parent = local->fop.lookup.loc->parent;
inode_link (inode, parent, local->fop.lookup.loc->name, buf);
- /* inode_lookup (inode); */
+ inode_lookup (inode);
} else {
if ((local->fop.lookup.is_revalidate == 0)
&& (op_errno == ENOENT)) {
@@ -1837,7 +1837,7 @@ libgf_client_lookup_async_cbk (call_frame_t *frame,
libgf_alloc_inode_ctx (ctx, inode);
libgf_update_iattr_cache (inode, LIBGF_UPDATE_ALL, stbuf);
- /* inode_lookup (inode); */
+ inode_lookup (inode);
} else {
if ((local->fop.lookup_cbk.is_revalidate == 0)
&& (op_errno == ENOENT)) {
@@ -2357,7 +2357,7 @@ libgf_client_creat (libglusterfs_client_ctx_t *ctx,
inode_link (libgf_inode, loc->parent, loc->name,
&stub->args.create_cbk.buf);
- /* inode_lookup (libgf_inode); */
+ inode_lookup (libgf_inode);
libgf_alloc_inode_ctx (ctx, libgf_inode);
libgf_update_iattr_cache (libgf_inode, LIBGF_UPDATE_ALL,
@@ -4400,7 +4400,7 @@ libgf_client_mkdir (libglusterfs_client_ctx_t *ctx,
inode_link (libgf_inode, loc->parent, loc->name,
&stub->args.mkdir_cbk.buf);
- /* inode_lookup (libgf_inode); */
+ inode_lookup (libgf_inode);
libgf_alloc_inode_ctx (ctx, libgf_inode);
libgf_update_iattr_cache (libgf_inode, LIBGF_UPDATE_ALL,
@@ -5229,6 +5229,7 @@ libgf_client_link (libglusterfs_client_ctx_t *ctx, loc_t *old, loc_t *new)
inode = stub->args.link_cbk.inode;
sbuf = &stub->args.link_cbk.buf;
inode_link (inode, new->parent, basename ((char *)new->path), sbuf);
+ inode_lookup (inode);
libgf_update_iattr_cache (inode, LIBGF_UPDATE_STAT, sbuf);
out:
@@ -5908,6 +5909,7 @@ libgf_client_mknod (libglusterfs_client_ctx_t *ctx, loc_t *loc, mode_t mode,
inode = stub->args.mknod_cbk.inode;
inode_link (inode, loc->parent, loc->name, &stub->args.mknod_cbk.buf);
+ inode_lookup (inode);
if (!libgf_alloc_inode_ctx (ctx, inode))
libgf_alloc_inode_ctx (ctx, inode);
@@ -6202,7 +6204,7 @@ libgf_client_symlink (libglusterfs_client_ctx_t *ctx, const char *linkpath,
inode = stub->args.symlink_cbk.inode;
inode_link (inode, loc->parent, loc->name,
&stub->args.symlink_cbk.buf);
-
+ inode_lookup (inode);
if (!libgf_get_inode_ctx (inode))
libgf_alloc_inode_ctx (ctx, inode);
t d none /usr/sfw/var/log 0755 root root d none /usr/sfw/var/log/glusterfs 0755 root root d none /usr/sfw/var/run 0755 root root d none /usr/sfw/share 0755 root bin d none /usr/sfw/share/man 0755 root bin d none /usr/sfw/share/man/man8 0755 root bin f none /usr/sfw/share/man/man8/glusterfs.8 0644 root root f none /usr/sfw/share/man/man8/gluster.8 0644 root root f none /usr/sfw/share/man/man8/glusterd.8 0644 root root f none /usr/sfw/share/man/man8/glusterfs-volgen.8 0644 root root d none /usr/sfw/share/doc 0755 root bin d none /usr/sfw/share/doc/glusterfs 0755 root root d none /usr/sfw/share/doc/glusterfs/examples 0755 root root f none /usr/sfw/share/doc/glusterfs/examples/README 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/read-ahead.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/trash.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/unify.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/filter.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/protocol-server.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/io-threads.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/posix-locks.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/trace.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/protocol-client.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/write-behind.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/stripe.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/afr.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/examples/io-cache.vol 0644 root root f none /usr/sfw/share/doc/glusterfs/glusterfs-mode.el 0644 root root d none /usr/sfw/etc 0755 root root d none /usr/sfw/etc/glusterfs 0755 root root f none /usr/sfw/etc/glusterfs/glusterfs-client.vol.sample 0644 root root f none /usr/sfw/etc/glusterfs/glusterfs-server.vol.sample 0644 root root d none /usr/sfw/include 0755 root bin f none /usr/sfw/include/libglusterfsclient.h 0644 root root d none /usr/sfw/lib 0755 root bin s none /usr/sfw/lib/libglusterfsclient.so.0=libglusterfsclient.so.0.0.0 f none /usr/sfw/lib/libglusterfsclient.so.0.0.0 0755 root root f none /usr/sfw/lib/libglusterfsclient.a 0644 root root f none /usr/sfw/lib/libglusterfs.a 0644 root root f none /usr/sfw/lib/libglusterfs.so.0.0.0 0755 root root s none /usr/sfw/lib/libglusterfsclient.so=libglusterfsclient.so.0.0.0 s none /usr/sfw/lib/libglusterfs.so.0=libglusterfs.so.0.0.0 s none /usr/sfw/lib/libglusterfs.so=libglusterfs.so.0.0.0 d none /usr/sfw/lib/glusterfs 0755 root root d none /usr/sfw/lib/glusterfs/2.0.0rc1 0755 root root d none /usr/sfw/lib/glusterfs/2.0.0rc1/transport 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/transport/socket.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/transport/socket.a 0644 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/transport/socket.so=socket.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/transport/socket.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/transport/socket.so.0=socket.so.0.0.0 d none /usr/sfw/lib/glusterfs/2.0.0rc1/auth 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/addr.la 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/addr.so=addr.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/login.a 0644 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/login.so=login.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/addr.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/addr.a 0644 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/addr.so.0=addr.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/login.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/login.so.0=login.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/auth/login.la 0755 root root d none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/random.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/nufa.so=nufa.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/random.a 0644 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/switch.so=switch.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/nufa.a 0644 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/nufa.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/rr.a 0644 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/switch.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/nufa.la 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/alu.so.0=alu.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/alu.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/random.la 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/rr.so.0=rr.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/alu.so=alu.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/switch.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/random.so.0=random.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/rr.so=rr.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/alu.a 0644 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/rr.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/alu.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/switch.a 0644 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/rr.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/nufa.so.0=nufa.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/switch.so.0=switch.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/scheduler/random.so=random.so.0.0.0 d none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator 0755 root root d none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-cache.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/read-ahead.a 0644 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-cache.a 0644 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/symlink-cache.so=symlink-cache.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-cache.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/write-behind.la 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/write-behind.so.0=write-behind.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/symlink-cache.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/write-behind.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-threads.a 0644 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/write-behind.so=write-behind.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-cache.so=io-cache.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/symlink-cache.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/read-ahead.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/symlink-cache.so.0=symlink-cache.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/write-behind.a 0644 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/read-ahead.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-threads.la 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-threads.so.0=io-threads.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/symlink-cache.a 0644 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/read-ahead.so.0=read-ahead.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-threads.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-threads.so=io-threads.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/read-ahead.so=read-ahead.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/performance/io-cache.so.0=io-cache.so.0.0.0 d none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/encryption 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/encryption/rot-13.so=rot-13.so.0.0.0 s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/encryption/rot-13.so.0=rot-13.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/encryption/rot-13.la 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/encryption/rot-13.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/encryption/rot-13.a 0644 root root d none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/protocol 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/protocol/server.so.0.0.0 0755 root root f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/protocol/client.so.0.0.0 0755 root root s none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/protocol/server.so.0=server.so.0.0.0 f none /usr/sfw/lib/glusterfs/2.0.0rc1/xlator/protocol/client.a 0644 root root s none /