diff options
author | Anand Avati <avati@redhat.com> | 2013-07-22 10:02:34 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2013-07-31 13:29:35 -0700 |
commit | dfedfec3593ca0fc026d8a094916824e1b90e60b (patch) | |
tree | 1a4ffec469ca2c48032c120c40a9f00d0451a363 /xlators/cluster/dht/src/dht-linkfile.c | |
parent | 691b973704b4ba511b295ee6f8baf1c4a1d8d89c (diff) |
gfapi: perform open() on pre-existing inode in glfs_creat()
Performing syncop_create() on a pre-existing file can result
in opening the linkfile if DHT has a linkfile for the file.
This is because dht_create() will perform the op on the
hashed_subvol() and overwrite the layout in dht_create_cbk.
Change-Id: I7a0db56921ec9fc3e278e0418db3b967f81e5598
BUG: 990410
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/5447
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Tested-by: Raghavendra Talur <rtalur@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-linkfile.c')
0 files changed, 0 insertions, 0 deletions