search for: min_size_supported

Displaying 4 results from an estimated 4 matches for "min_size_supported".

2015 Oct 27
1
[PATCHv3] Added btrfs support to vfs_minimum_size.
...or ("btrfs: %s", err); + return -1; + } + + if (strstr (out, cmd_pattern) == NULL) + result = 0; + else + result = 1; + + return result; +} + +int64_t +btrfs_minimum_size (const char *path) +{ + CLEANUP_FREE char *err = NULL, *out = NULL; + int64_t ret = 0; + int r; + int min_size_supported = test_btrfs_min_dev_size (); + + if (min_size_supported == -1) + return -1; + else if (min_size_supported == 0) + NOT_SUPPORTED (-1, "'btrfs inspect-internal min-dev-size' \ + needs btrfs-progs >= 4.2"); + + r = command (&out, &err, str_...
2015 Oct 22
2
[PATCH] Added btrfs support for vfs_min_size.
...y_with_error ("btrfs: %s", err); + return -1; + } + + if (strstr (out, cmd_pattern) == NULL) + result = 0; + else + result = 1; + + return result; +} + +int64_t +btrfs_minimum_size (const char *path) +{ + CLEANUP_FREE char *err = NULL, *out = NULL; + int64_t ret = 0; + int min_size_supported = test_btrfs_min_dev_size (); + if (min_size_supported == -1) + return -1; + else if (min_size_supported == 0) + NOT_SUPPORTED (-1, "'btrfs inspect-internal min-dev-size' \ + needs btrfs-progs >= 4.2"); + + int r = command (&out, &err, st...
2015 Oct 23
0
Re: [PATCH] Added btrfs support for vfs_min_size.
...t; + if (strstr (out, cmd_pattern) == NULL) > + result = 0; > + else > + result = 1; > + > + return result; > +} > > +int64_t > +btrfs_minimum_size (const char *path) > +{ > + CLEANUP_FREE char *err = NULL, *out = NULL; > + int64_t ret = 0; > + int min_size_supported = test_btrfs_min_dev_size (); > + if (min_size_supported == -1) > + return -1; > + else if (min_size_supported == 0) > + NOT_SUPPORTED (-1, "'btrfs inspect-internal min-dev-size' \ > + needs btrfs-progs >= 4.2"); > + > + int...
2015 Oct 23
1
[PATCHv2] Added btrfs support for vfs_min_size.
...or ("btrfs: %s", err); + return -1; + } + + if (strstr (out, cmd_pattern) == NULL) + result = 0; + else + result = 1; + + return result; +} + +int64_t +btrfs_minimum_size (const char *path) +{ + CLEANUP_FREE char *err = NULL, *out = NULL; + int64_t ret = 0; + int r; + int min_size_supported = test_btrfs_min_dev_size (); + + if (min_size_supported == -1) + return -1; + else if (min_size_supported == 0) + NOT_SUPPORTED (-1, "'btrfs inspect-internal min-dev-size' \ + needs btrfs-progs >= 4.2"); + + r = command (&out, &err, str_...