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

bugzilla at redhat.com bugzilla at redhat.com
Tue Aug 8 16:19:10 UTC 2017


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



--- Comment #3 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/17996 committed in release-3.12 by
Shyamsundar Ranganathan (srangana at redhat.com) 
------
commit 517316470e8e309e0e572264ee3c02b0748acab1
Author: Ravishankar N <ravishankar at redhat.com>
Date:   Tue Aug 8 21:42:03 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: 1479474
    Signed-off-by: Ravishankar N <ravishankar at redhat.com>
    Reviewed-on: https://review.gluster.org/17996
    Smoke: Gluster Build System <jenkins at build.gluster.org>
    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=2rpxlyhW8R&a=cc_unsubscribe


More information about the Bugs mailing list