From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.136]:59782 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751777AbcFJULa (ORCPT ); Fri, 10 Jun 2016 16:11:30 -0400 From: Andy Lutomirski To: Linux FS Devel , Al Viro Cc: Stephen Rothwell , Andrew Morton , Andy Lutomirski Subject: [PATCH 0/2] fs: copy_mount_options improvements Date: Fri, 10 Jun 2016 13:11:23 -0700 Message-Id: Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Patch 1 fixes what is arguably a bug. I suspect it could cause crashes or very large latency under unusual circumstanes. Since it also deletes a bunch of code, I think it's a nice fix. Patch 2 is an ABI change/fix. Any user code that would be affected is currently buggy (i.e. results in incorrect option parsing), so I suspect it can be applied safely. Andy Lutomirski (2): fs: Improve and simplify copy_mount_options fs: Disallow mount options strings longer than PAGE_SIZE - 1 fs/namespace.c | 60 +++++++++++++--------------------------------------------- 1 file changed, 13 insertions(+), 47 deletions(-) -- 2.5.5