[Bugs] [Bug 1611834] glusterfsd crashes when SEEK_DATA/HOLE is not supported

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 3 22:20:49 UTC 2018


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

Worker Ant <bugzilla-bot at gluster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|POST                        |MODIFIED



--- Comment #2 from Worker Ant <bugzilla-bot at gluster.org> ---
COMMIT: https://review.gluster.org/20625 committed in master by "Shyamsundar
Ranganathan" <srangana at redhat.com> with a commit message- posix: prevent crash
when SEEK_DATA/HOLE is not supported

Instead of not defining the 'seek' fop when it's not supported on the
compilation platform, we simply return EINVAL when it's used.

Fixes: bz#1611834
Change-Id: I253666d8910c5e2fffa3a3ba37085e5c1c058a8e
Signed-off-by: Xavi Hernandez <xhernandez at redhat.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list