diff options
Diffstat (limited to 'src/libudev/path-util.c')
-rw-r--r-- | src/libudev/path-util.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/libudev/path-util.c b/src/libudev/path-util.c index b702b94218..fd67310474 100644 --- a/src/libudev/path-util.c +++ b/src/libudev/path-util.c @@ -331,14 +331,3 @@ fallback: return a.st_dev != b.st_dev; } - -int path_is_read_only_fs(const char *path) { - struct statvfs st; - - assert(path); - - if (statvfs(path, &st) < 0) - return -errno; - - return !!(st.f_flag & ST_RDONLY); -} |