Fix fuse_buf_copy_flags values
authorMiklos Szeredi <mszeredi@suse.cz>
Fri, 12 Nov 2010 15:18:17 +0000 (16:18 +0100)
committerMiklos Szeredi <mszeredi@suse.cz>
Fri, 12 Nov 2010 15:18:17 +0000 (16:18 +0100)
Reported-by: Goswin von Brederlow <goswin-v-b@web.de>
include/fuse_common.h

index 233a0b4f4565987d1057e7259cca2888a66cb0c4..569c826aebc1a8f18d1b946f7bfe82bddbacafaf 100644 (file)
@@ -312,7 +312,7 @@ enum fuse_buf_copy_flags {
         * destination instead of copying.  See documentation of
         * SPLICE_F_MOVE in splice(2) man page.
         */
-       FUSE_BUF_SPLICE_MOVE    = (1 << 2),
+       FUSE_BUF_SPLICE_MOVE    = (1 << 3),
 
        /**
         * Don't block on the pipe when copying data with splice
@@ -321,7 +321,7 @@ enum fuse_buf_copy_flags {
         * is full or empty).  See SPLICE_F_NONBLOCK in the splice(2)
         * man page.
         */
-       FUSE_BUF_SPLICE_NONBLOCK= (1 << 3),
+       FUSE_BUF_SPLICE_NONBLOCK= (1 << 4),
 };
 
 /**