diff options
author | Anand Avati <avati@gluster.com> | 2011-07-12 02:10:16 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-12 02:24:57 -0700 |
commit | a2de8fc7ad0aab1715fb4e0a23e12bfc1595bf88 (patch) | |
tree | 9bf912587d63696d250614476583c85a31733e58 /rpc/rpc-lib/src/xdr-rpc.h | |
parent | 2bf588bfc2eaaa880f73b035670e4e4d47ac36d3 (diff) |
storage/posix: detect race in posix_rename()
detect a race in rename between two clients by checking for
reassigned gfid or presence of dir when not expecting.
checks not necessary for rename of files.
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2522 ([glusterfs-3.1.3qa8]: rm -rf shows invalid argument)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2522
Diffstat (limited to 'rpc/rpc-lib/src/xdr-rpc.h')
0 files changed, 0 insertions, 0 deletions