[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#794003: jessie-pu: package glusterfs/3.5.2-2



Am 29.07.2015 um 20:09 schrieb Adam D. Barratt:
Do those two changes have anything to do with fixing the bug?

I have asked upstream: no
The diff for nfs3.c is now just:

diff -Naur glusterfs-3.5.2.orig/xlators/nfs/server/src/nfs3.c glusterfs-3.5.2/xlators/nfs/server/src/nfs3.c --- glusterfs-3.5.2.orig/xlators/nfs/server/src/nfs3.c 2014-07-31 13:05:35.000000000 +0200 +++ glusterfs-3.5.2/xlators/nfs/server/src/nfs3.c 2015-07-29 20:25:20.525530253 +0200
@@ -3158,11 +3158,10 @@


 int
-nfs3_mknod_fifo (nfs3_call_state_t *cs)
+nfs3_mknod_fifo (nfs3_call_state_t *cs, mode_t mode)
 {
         int                             ret = -EFAULT;
         nfs_user_t                      nfu = {0, };
-        mode_t                          mode = S_IFIFO;

         if (!cs)
                 return ret;
@@ -3200,8 +3199,10 @@
                 ret = nfs3_mknod_device (cs);
                 break;
         case NF3SOCK:
+                ret = nfs3_mknod_fifo (cs, S_IFSOCK);
+                break;
         case NF3FIFO:
-                ret = nfs3_mknod_fifo (cs);
+                ret = nfs3_mknod_fifo (cs, S_IFIFO);
                 break;
         default:
                 ret = -EBADF;


--
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei@debian.org
        patrick@linux-dev.org
*/


Reply to: