[Bugs] [Bug 1491985] Add NULL gfid checks before creating file

bugzilla at redhat.com bugzilla at redhat.com
Sun Sep 17 12:55:27 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1491985



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/18302 committed in release-3.10 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 0240a6d5ceb507376abaf97ec25409612c137891
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Fri Sep 15 14:12:47 2017 +0530

    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 at redhat.com>
    Reviewed-on: https://review.gluster.org/18302
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Shyamsundar Ranganathan <srangana at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=VJLQE3XloP&a=cc_unsubscribe


More information about the Bugs mailing list