[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171009150042.31293-1-jack@suse.cz>
Date: Mon, 9 Oct 2017 17:00:40 +0200
From: Jan Kara <jack@...e.cz>
To: <linux-ext4@...r.kernel.org>
Cc: Al Viro <viro@...IV.linux.org.uk>,
Jia-Ju Bai <baijiaju1990@....com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Jan Kara <jack@...e.cz>
Subject: [PATCH 0/2] ext2: Avoid parsing options under a spinlock
Hello,
as Jia-Ju Bai pointed out, match_int() can sleep due to GFP_KERNEL allocation.
Change ext2 mount option parsing so that it does not happen under sbi->s_lock
spinlock. That is a reasonable change anyway and as a sideeffect we don't
have to restore old options if new options cannot be used for some reason.
If nobody objects, I'll push these patches through my tree.
Honza
Powered by blists - more mailing lists