···20982098static int fuse_notify(struct fuse_conn *fc, enum fuse_notify_code code,20992099 unsigned int size, struct fuse_copy_state *cs)21002100{21012101+ /*21022102+ * Only allow notifications during while the connection is in an21032103+ * initialized and connected state21042104+ */21052105+ if (!fc->initialized || !fc->connected)21062106+ return -EINVAL;21072107+21012108 /* Don't try to move folios (yet) */21022109 cs->move_folios = false;21032110