fuse_session_loop_mt() now return -errno instead of -1 in case of
failure.
+* The FUSE main loop is now aborted if the file-system requests
+ capabilities that are not supported by the kernel.
+
FUSE 3.0.0-rc2 (2016-11-06)
===========================
if (se->op.init)
se->op.init(se->userdata, &se->conn);
+ if (se->conn.want & (~se->conn.capable)) {
+ fprintf(stderr, "fuse: error: filesystem requested capabilites "
+ "that are not supported by kernel, aborting.\n");
+ fuse_reply_err(req, EPROTO);
+ se->error = -EPROTO;
+ fuse_session_exit(se);
+ return;
+ }
+
unsigned max_read_mo = get_max_read(se->mo);
if (se->conn.max_read != max_read_mo) {
fprintf(stderr, "fuse: error: init() and fuse_session_new() "