Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3130685ybh; Mon, 5 Aug 2019 12:37:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5FpycsuZ8SvQA/ZQIjyiBDigNbaRqEMzy/9FyzhYU3thW6vXoHxfu4luNWXxjFXHZGaBT X-Received: by 2002:a17:902:106:: with SMTP id 6mr148488186plb.64.1565033831973; Mon, 05 Aug 2019 12:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565033831; cv=none; d=google.com; s=arc-20160816; b=knfJmxHOmvzu0sGnvCvT+bu6Ng5Q0UwhJePuVM5hWFTgr8pySheNjXVs3hgy3+C3f0 r0VjXc2POwkQ0FX0cS2hrhJE4n3tvdAt/N9OOB6sChnMDoD/XHz4q3ILJwmAoH8488A5 Klg+NhfH893T35zvjLwD6RJdw7VoPljUXtV9Ujrhpoa6WhgtGr91g2qoXVHVRfhHFK24 38ZenRwB9YevKRdpUpf+y9XCyicaknwMicxOeEvJeHlQyv1cIRP9Zo0hHwGETntGEzl0 8sOhIODNE6X+/4ANWbzuMKmX+bqlDTaG+AUsCK0c+C5FNG9SByh0thKH+66WNEKFXcF5 KZJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:dkim-signature; bh=FFXuFRa8iOJ18WlRqHjA8mIfxhC5O27ek028/P9Nj6g=; b=xhjBBzkhh72dE9Lodad3rVT03wUXWzd2RsvXh3LGmWl5vVBLEmFjtJ/ITTRT3DSO10 99p0OEX0TY1EN3kiXr424rQ5TmevrzvSaqTqghiPGLcMv+BqnpuaHNWZ/AARMVLu34EY mDGpfXsVirhamYhYZ493XkBF5VjLFqxNsfCPNVWBPqz14oWuRBJ2Q3wMs0alUWIzW1Pk MX+VjLBy9x7vb5cxCaIWO7qtAyGvvP+3RGu8mmHJNHSrd1Lvg+67U7fzGMTwsDNwWdzV 82A7+70ASQmyvhaLwaRRSMrRE5Q0b0x9kXFtQ9fxg3EOISFovFxhZFEbriuOXjkcWR+p mGWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WsLcSMIg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l64si13159955pjb.93.2019.08.05.12.36.55; Mon, 05 Aug 2019 12:37:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WsLcSMIg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730222AbfHETe6 (ORCPT + 99 others); Mon, 5 Aug 2019 15:34:58 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51422 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727460AbfHETe6 (ORCPT ); Mon, 5 Aug 2019 15:34:58 -0400 Received: by mail-wm1-f65.google.com with SMTP id 207so75862424wma.1; Mon, 05 Aug 2019 12:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=FFXuFRa8iOJ18WlRqHjA8mIfxhC5O27ek028/P9Nj6g=; b=WsLcSMIgN5vkl1yy7iONJEshW98E90rrKMzbCSOKKh8JSFEixPuDVuMlstE6TxP4gN QUEP99WNKhoqQkTajWuH6ILafJrrHcjcurs34RhJ6qrpsq2910lEtDPjKRGwc6s1qdLg +msxnDNP23bk7n/QMR1WKv/nuDTY/coyNBqRBKPiiLQ6akDIqAvrPWT21N9Ge+ztY5l8 Ng+29x+TRqdCet6LuAM7EtDTSuEPWS6BHbgiopiiHqIk2L0KP9o2EEnkInn8tt+smUDS pdslRN/wwRb2XmXyt3fHVbrpoGrGXkq9K7nfhuiYUTmph4efQkYxcMfWZ5H8PhLQq+IR ajjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=FFXuFRa8iOJ18WlRqHjA8mIfxhC5O27ek028/P9Nj6g=; b=XHvuDy7ybpq9VHk30GePe4J8yyZOJJpEOf5eS7XJ05VFbPKkafWa+dBV5hW9lhxQR8 HOFYJ5j+x+u/R63fuh/GXHUombXm23e8jG7nxnus3zVAFJ0PUNXGF9m9zwe87YgDun9u TWJH7cXXdYHcnFFb7bfwjuRe+TiR5ZkUWzjCyapghACIiI5/9N5A5xTb9x8W2cn1LT+c A0oK/lc7ljpZGgukbBeVmZ+Y0hewmC92aCIjCeqpTp5xJYgmiDM0TjWGpmrLYyK2DJQt Mpg4FOZAM27NVWd49AVlVsT9XB8LYtocYYkK+RNEBCug01wd86HLqdJSK5woH8cqdpFf /BIQ== X-Gm-Message-State: APjAAAURFkrCglltW0SBNjJdaS215pFWUzjeeNnIg/D8w1evLfivyJQU R2MWzRnxdNeA1LOljbptD1JmysSlm4kF+wB/v/E= X-Received: by 2002:a1c:3cc4:: with SMTP id j187mr27979wma.36.1565033696014; Mon, 05 Aug 2019 12:34:56 -0700 (PDT) MIME-Version: 1.0 References: <20190805160307.5418-1-sergey.senozhatsky@gmail.com> In-Reply-To: <20190805160307.5418-1-sergey.senozhatsky@gmail.com> Reply-To: sedat.dilek@gmail.com From: Sedat Dilek Date: Mon, 5 Aug 2019 21:34:44 +0200 Message-ID: Subject: Re: [PATCHv2 0/3] convert i915 to new mount API To: Sergey Senozhatsky Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Chris Wilson , Alexander Viro , David Howells , Christoph Hellwig , David Airlie , Daniel Vetter , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 5, 2019 at 6:05 PM Sergey Senozhatsky wrote: > > Hello, > > Convert i915 to a new mount API and fix i915_gemfs_init() kernel Oops. > > It also appears that we need to EXPORTs put_filesystem(), so i915 > can properly put filesystem after it is done with kern_mount(). > > v2: > - export put_filesystem() [Chris] > - always put_filesystem() in i915_gemfs_init() [Chris] > - improve i915_gemfs_init() error message [Chris] > > Sergey Senozhatsky (3): > fs: export put_filesystem() > i915: convert to new mount API > i915: do not leak module ref counter > Fee free to add: Reported-by: Sedat Dilek [1] https://lore.kernel.org/lkml/CA+icZUXh068m8UFeHDXCKDi0YfL2Z=WoONy7J7DJLqAT1CZ+rQ@mail.gmail.com/ > drivers/gpu/drm/i915/gem/i915_gemfs.c | 33 +++++++++++++++++++-------- > fs/filesystems.c | 1 + > 2 files changed, 25 insertions(+), 9 deletions(-) > > -- > 2.22.0 >