Skip to content

Commit

Permalink
Merge pull request #1046 from vojtechtrefny/master_fix-get-min-size-d…
Browse files Browse the repository at this point in the history
…ocstring

fs: Fix docstring for bd_fs_ext?_get_min_size functions
  • Loading branch information
vojtechtrefny authored Jul 25, 2024
2 parents e648ae9 + 8827409 commit 6c575c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/lib/plugin_apis/fs.api
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,7 @@ gboolean bd_fs_ext4_resize (const gchar *device, guint64 new_size, const BDExtra
* @device: the device containing the file system to get min size for
* @error: (out) (optional): place to store error (if any)
*
* Returns: smallest shrunken filesystem size as reported by ntfsresize
* Returns: smallest shrunken filesystem size as reported by resize2fs
* in case of error 0 is returned and @error is set
*
* Tech category: %BD_FS_TECH_EXT2-%BD_FS_TECH_MODE_RESIZE
Expand All @@ -1767,7 +1767,7 @@ guint64 bd_fs_ext2_get_min_size (const gchar *device, GError **error);
* @device: the device containing the file system to get min size for
* @error: (out) (optional): place to store error (if any)
*
* Returns: smallest shrunken filesystem size as reported by ntfsresize
* Returns: smallest shrunken filesystem size as reported by resize2fs
* in case of error 0 is returned and @error is set
*
* Tech category: %BD_FS_TECH_EXT3-%BD_FS_TECH_MODE_RESIZE
Expand All @@ -1779,7 +1779,7 @@ guint64 bd_fs_ext3_get_min_size (const gchar *device, GError **error);
* @device: the device containing the file system to get min size for
* @error: (out) (optional): place to store error (if any)
*
* Returns: smallest shrunken filesystem size as reported by ntfsresize
* Returns: smallest shrunken filesystem size as reported by resize2fs
* in case of error 0 is returned and @error is set
*
* Tech category: %BD_FS_TECH_EXT4-%BD_FS_TECH_MODE_RESIZE
Expand Down
6 changes: 3 additions & 3 deletions src/plugins/fs/ext.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ static guint64 ext_get_min_size (const gchar *device, GError **error) {
* @device: the device containing the file system to get min size for
* @error: (out) (optional): place to store error (if any)
*
* Returns: smallest shrunken filesystem size as reported by ntfsresize
* Returns: smallest shrunken filesystem size as reported by resize2fs
* in case of error 0 is returned and @error is set
*
* Tech category: %BD_FS_TECH_EXT2-%BD_FS_TECH_MODE_RESIZE
Expand All @@ -931,7 +931,7 @@ guint64 bd_fs_ext2_get_min_size (const gchar *device, GError **error) {
* @device: the device containing the file system to get min size for
* @error: (out) (optional): place to store error (if any)
*
* Returns: smallest shrunken filesystem size as reported by ntfsresize
* Returns: smallest shrunken filesystem size as reported by resize2fs
* in case of error 0 is returned and @error is set
*
* Tech category: %BD_FS_TECH_EXT3-%BD_FS_TECH_MODE_RESIZE
Expand All @@ -945,7 +945,7 @@ guint64 bd_fs_ext3_get_min_size (const gchar *device, GError **error) {
* @device: the device containing the file system to get min size for
* @error: (out) (optional): place to store error (if any)
*
* Returns: smallest shrunken filesystem size as reported by ntfsresize
* Returns: smallest shrunken filesystem size as reported by resize2fs
* in case of error 0 is returned and @error is set
*
* Tech category: %BD_FS_TECH_EXT4-%BD_FS_TECH_MODE_RESIZE
Expand Down

0 comments on commit 6c575c0

Please sign in to comment.