commit | 7ed7a4b6ed8b2fce891874a0eafdc8f77c3ffc34 | [log] [tgz] |
---|---|---|
author | Eric Sandeen <sandeen@redhat.com> | Fri Oct 10 17:17:43 2008 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Oct 12 23:12:22 2008 -0400 |
tree | 4ba26ae89a474343bac85b1e3db010e5232b6a81 | |
parent | a25f0e73a7db95d6930f2af67d758be07737d044 [diff] |
unix_io: check for read-only devices when opening R/W When we open a device on linux, test whether it is writable right away, rather than trying to proceed and clean up when writes start failing. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>