fstrim: don't trim mount points flagged as notrim

Bug: 19624276
Change-Id: I84eeb029114d6ba2a26a53d4155d123d8acd7502
diff --git a/fstrim.c b/fstrim.c
index 2c24fc9..231d66e 100644
--- a/fstrim.c
+++ b/fstrim.c
@@ -88,6 +88,9 @@
         if (fs_mgr_is_voldmanaged(&fstab->recs[i])) {
             continue; /* Should we trim fat32 filesystems? */
         }
+        if (fs_mgr_is_notrim(&fstab->recs[i])) {
+            continue;
+        }
 
         fd = open(fstab->recs[i].mount_point, O_RDONLY | O_DIRECTORY | O_CLOEXEC | O_NOFOLLOW);
         if (fd < 0) {