Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754875AbbHCScE (ORCPT ); Mon, 3 Aug 2015 14:32:04 -0400 Received: from a.ns.miles-group.at ([95.130.255.143]:65276 "EHLO radon.swed.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754680AbbHCScB (ORCPT ); Mon, 3 Aug 2015 14:32:01 -0400 Subject: Re: [RFC][PATCH] ecryptfs: Allow only one instance per lower path To: Tyler Hicks References: <1438338190-22518-1-git-send-email-richard@nod.at> <20150802010259.GA19522@boyd> <55BDCBF4.1050305@nod.at> <20150803052758.GA24915@boyd> Cc: ecryptfs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel From: Richard Weinberger Message-ID: <55BFB39D.5070702@nod.at> Date: Mon, 3 Aug 2015 20:31:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150803052758.GA24915@boyd> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1057 Lines: 28 Tyler, Am 03.08.2015 um 07:27 schrieb Tyler Hicks: >> So ecryptfs definitely supports mounting the same lower path multiple times? >> What is the benefit of that behavior? > > No, it doesn't support that in a way that provides consistency among all > of the eCryptfs mounts. Okay, then I'd argument to give my patch a try although it is not the solution to the problem I've reported. :-) If you don't mind I'll resend with a proper changelog. > However, multiple mounts on the same lower path is not the cause of this > bug. The real issue is a stale dcache entry when the lower filesystem > has been modified without eCryptfs' knowing. I can trigger the same > warnings with only a single eCryptfs mount. Interesting, that renders the whole issue into a user triggerable kernel bug. :-( Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/