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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html