linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Device files on read-only file systems?
@ 2011-08-15 13:11 Jeff Mahoney
  2011-08-15 14:58 ` Chris Mason
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Mahoney @ 2011-08-15 13:11 UTC (permalink / raw)
  To: Btrfs Development List

Hi all -

btrfs_permission currently returns -EROFS when the root is set read-only 
and the open is requested read-write. It doesn't make an exception for 
device files. Is this intentional?

-Jeff

-- 
Jeff Mahoney
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Device files on read-only file systems?
  2011-08-15 13:11 Device files on read-only file systems? Jeff Mahoney
@ 2011-08-15 14:58 ` Chris Mason
  2011-08-15 17:19   ` Jeff Mahoney
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Mason @ 2011-08-15 14:58 UTC (permalink / raw)
  To: Jeff Mahoney; +Cc: Btrfs Development List

Excerpts from Jeff Mahoney's message of 2011-08-15 09:11:24 -0400:
> Hi all -
> 
> btrfs_permission currently returns -EROFS when the root is set read-only 
> and the open is requested read-write. It doesn't make an exception for 
> device files. Is this intentional?

No, definitely not intentional.

-chris

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Device files on read-only file systems?
  2011-08-15 14:58 ` Chris Mason
@ 2011-08-15 17:19   ` Jeff Mahoney
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Mahoney @ 2011-08-15 17:19 UTC (permalink / raw)
  To: Chris Mason; +Cc: Btrfs Development List

On 08/15/2011 10:58 AM, Chris Mason wrote:
> Excerpts from Jeff Mahoney's message of 2011-08-15 09:11:24 -0400:
>> Hi all -
>>
>> btrfs_permission currently returns -EROFS when the root is set read-only
>> and the open is requested read-write. It doesn't make an exception for
>> device files. Is this intentional?
>
> No, definitely not intentional.

Ok. I'll post a patch in a few minutes.

-Jeff

-- 
Jeff Mahoney
SUSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-15 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-15 13:11 Device files on read-only file systems? Jeff Mahoney
2011-08-15 14:58 ` Chris Mason
2011-08-15 17:19   ` Jeff Mahoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).