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

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 8 12:54:29 UTC 2017


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



--- Comment #6 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17975 committed in master by Raghavendra
Bhat (raghavendra at redhat.com) 
------
commit c63aa2239bc682739328e0aa6cbcb3279a72a8e2
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Mon Aug 7 12:14:23 2017 +0530

    posix: add null gfid checks

    ...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: 1478297
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: https://review.gluster.org/17975
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: jiffin tony Thottan <jthottan at redhat.com>
    CentOS-regression: Gluster Build System <jenkins at build.gluster.org>
    Reviewed-by: Raghavendra Bhat <raghavendra 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=dMB3fjBCjh&a=cc_unsubscribe


More information about the Bugs mailing list