diff options
Diffstat (limited to 'filesystems/glusterfs/patches/patch-bb')
-rw-r--r-- | filesystems/glusterfs/patches/patch-bb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/filesystems/glusterfs/patches/patch-bb b/filesystems/glusterfs/patches/patch-bb deleted file mode 100644 index 71ae5071ea7..00000000000 --- a/filesystems/glusterfs/patches/patch-bb +++ /dev/null @@ -1,18 +0,0 @@ -$NetBSD: patch-bb,v 1.2 2011/04/18 16:19:48 manu Exp $ - -On NetBSD and FreeBSD, O_DIRECTORY does not exists and is defined as 0 -by glusterfs. ((flags & O_DIRECTORY) == O_DIRECTORY) always evaluate -to true, and this is a bug. ---- ./xlators/performance/quick-read/src/quick-read.c.orig 2011-04-13 10:02:38.000000000 +0200 -+++ ./xlators/performance/quick-read/src/quick-read.c 2011-04-13 10:03:23.000000000 +0200 -@@ -637,9 +637,9 @@ - } - } - UNLOCK (&table->lock); - -- if (content_cached && ((flags & O_DIRECTORY) == O_DIRECTORY)) { -+ if (content_cached && (flags & O_DIRECTORY)) { - op_ret = -1; - op_errno = ENOTDIR; - goto unwind; - } |