diff options
author | Ravishankar N <ravishankar@redhat.com> | 2017-09-15 14:12:47 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-09-17 12:55:23 +0000 |
commit | 0240a6d5ceb507376abaf97ec25409612c137891 (patch) | |
tree | adc442b8886eea7f96f39bcd35014952786be291 /rpc | |
parent | 4d121709766c10bdb7900dd9066dcec5b16678c3 (diff) |
posix: add null gfid checks
Backport of https://review.gluster.org/17975
...in file/dir creation and lookup codepaths. The check is relaxed for
fops coming from trash xlator at the moment until trash has client side
logic to send the create fops with gfid-req.
Also fixed the missing trash pid assignment in creates sent by trash
xlator. Without this, truncated files won't be moved to .trashcan.
Change-Id: Ieddd7f0634850e7c7010e4fbb4ad1eead35888c8
BUG: 1491985
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-on: https://review.gluster.org/18302
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'rpc')
0 files changed, 0 insertions, 0 deletions