projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f49fb67
)
btrfs-progs: mkfs: print device name while trimming
author
David Sterba
<dsterba@suse.com>
Fri, 6 Jan 2017 12:47:07 +0000
(13:47 +0100)
committer
David Sterba
<dsterba@suse.com>
Wed, 25 Jan 2017 08:47:38 +0000
(09:47 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
utils.c
patch
|
blob
|
history
diff --git
a/utils.c
b/utils.c
index
06c90c7
..
26493c5
100644
(file)
--- a/
utils.c
+++ b/
utils.c
@@
-1869,8
+1869,8
@@
int btrfs_prepare_device(int fd, const char *file, u64 *block_count_ret,
*/
if (discard_range(fd, 0, 0) == 0) {
if (opflags & PREP_DEVICE_VERBOSE)
- printf("Performing full device TRIM (%s) ...\n",
- pretty_size(block_count));
+ printf("Performing full device TRIM
%s
(%s) ...\n",
+
file,
pretty_size(block_count));
discard_blocks(fd, 0, block_count);
}
}