From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753687AbaK0BSr (ORCPT ); Wed, 26 Nov 2014 20:18:47 -0500 Received: from mail.smart-weblications.de ([188.65.144.61]:40403 "EHLO mail.smart-weblications.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753617AbaK0BSp (ORCPT ); Wed, 26 Nov 2014 20:18:45 -0500 X-Greylist: delayed 1003 seconds by postgrey-1.27 at vger.kernel.org; Wed, 26 Nov 2014 20:18:45 EST Message-ID: <547677F6.5050109@smart-weblications.de> Date: Thu, 27 Nov 2014 02:01:42 +0100 From: Smart Weblications GmbH - Florian Wiessner Reply-To: f.wiessner@smart-weblications.de Organization: Smart Weblications GmbH User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: LKML , ocfs2-devel@oss.oracle.com, linux-fsdevel@vger.kernel.org Subject: ocfs2_link:812 ERROR: status = -2 - Re: Linux 3.17.4 References: <20141121201253.GA8623@kroah.com> In-Reply-To: <20141121201253.GA8623@kroah.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 21.11.2014 21:12, schrieb Greg KH: > I'm announcing the release of the 3.17.4 kernel. > > All users of the 3.17 kernel series must upgrade. > When using ocfs2 on 3.17.4 (i have seen this since 3.14) and mount-bind ocfs2 to a lxc-container, when postfix inside the lxc tries to write mails to ocfs2 dir using virtual transport, kernel says: [ 3812.352564] (virtual,25186,3):ocfs2_link:812 ERROR: status = -2 In 3.12 this did not happen. This code (from postfix virtual transport program 'virtual' seems to cause the kernel message: newfile = concatenate(newdir, STR(buf), (char *) 0); if ((mail_copy_status = mail_copy(COPY_ATTR(state.msg_attr), dst, copy_flags, "\n", why)) == 0) { if (sane_link(tmpfile, newfile) < 0 && (errno != ENOENT || (make_dirs(curdir, 0700), make_dirs(newdir, 0700)) < 0 || sane_link(tmpfile, newfile) < 0)) { dsb_simple(why, mbox_dsn(errno, "4.2.0"), "create maildir file %s: %m", newfile); mail_copy_status = MAIL_COPY_STAT_WRITE; } } if (unlink(tmpfile) < 0) msg_warn("remove %s: %m", tmpfile); } This seems like a regression to me since this used to work in 3.12.33 -- Mit freundlichen Grüßen, Florian Wiessner Smart Weblications GmbH Martinsberger Str. 1 D-95119 Naila fon.: +49 9282 9638 200 fax.: +49 9282 9638 205 24/7: +49 900 144 000 00 - 0,99 EUR/Min* http://www.smart-weblications.de -- Sitz der Gesellschaft: Naila Geschäftsführer: Florian Wiessner HRB-Nr.: HRB 3840 Amtsgericht Hof *aus dem dt. Festnetz, ggf. abweichende Preise aus dem Mobilfunknetz