[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4798EB07.50002@zytor.com>
Date: Thu, 24 Jan 2008 11:46:15 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: Miklos Szeredi <miklos@...redi.hu>
CC: akpm@...ux-foundation.org, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [patch 10/26] mount options: fix devpts
Miklos Szeredi wrote:
> Also add minor fix: when parsing the "mode" option, mask with
> S_IALLUGO instead of ~S_IFMT, which could leave unsed bits in the
> mask.
umode_t is 16 bits, so it doesn't. The change is still good, of course.
> + if (config.mode != DEVPTS_DEFAULT_MODE)
> + seq_printf(seq, ",mode=%03o", config.mode);
I would rather this be unconditional, than that it be conditional on
something other than the user having specified it in the first place.
Other than that,
Acked-by: H. Peter Anvin <hpa@...or.com>
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists