Skip to content

Commit

Permalink
Merge PR ceph#29518 into master
Browse files Browse the repository at this point in the history
* refs/pull/29518/head:
	mount.ceph: properly handle -o strictatime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
  • Loading branch information
batrick committed Aug 19, 2019
2 parents b2eb9e4 + 51e738d commit 0dd2d0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mount/mount.ceph.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ static char *parse_options(const char *data, int *filesys_flags)
*filesys_flags |= MS_NODIRATIME;
} else if (strncmp(data, "relatime", 8) == 0) {
*filesys_flags |= MS_RELATIME;

} else if (strncmp(data, "strictatime", 11) == 0) {
*filesys_flags |= MS_STRICTATIME;
} else if (strncmp(data, "noauto", 6) == 0) {
skip = 1; /* ignore */
} else if (strncmp(data, "_netdev", 7) == 0) {
Expand Down

0 comments on commit 0dd2d0f

Please sign in to comment.