chiark / gitweb /
tree-wide: use sd_id128_is_null() instead of sd_id128_equal where appropriate
[elogind.git] / src / basic / mount-util.c
index d5ec2afdd99110d5f44f8578feb02d7462316adc..de12453c5f75e4b37e2133043c7bf330eaf7a636 100644 (file)
@@ -104,7 +104,7 @@ int fd_is_mount_point(int fd, const char *filename, int flags) {
          *
          * As last fallback we do traditional fstat() based st_dev
          * comparisons. This is how things were traditionally done,
-         * but unionfs breaks breaks this since it exposes file
+         * but unionfs breaks this since it exposes file
          * systems with a variety of st_dev reported. Also, btrfs
          * subvolumes have different st_dev, even though they aren't
          * real mounts of their own. */
@@ -501,6 +501,7 @@ bool fstype_is_network(const char *fstype) {
                 "gfs2\0"
                 "glusterfs\0"
                 "pvfs2\0" /* OrangeFS */
+                "ocfs2\0"
                 ;
 
         const char *x;