* [PATCH 1/2] BTRFS: fixed a coding style issue
@ 2013-11-05 7:21 Aldo Iljazi
2013-11-05 7:21 ` [PATCH 2/2] " Aldo Iljazi
0 siblings, 1 reply; 2+ messages in thread
From: Aldo Iljazi @ 2013-11-05 7:21 UTC (permalink / raw)
To: chris.mason; +Cc: linux-btrfs, linux-kernel
Line 31: Removed spaces before the semicolons.
Signed-off-by: Aldo Iljazi <mail@aldo.io>
---
fs/btrfs/print-tree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index 0088bed..19dd143 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -28,7 +28,7 @@ static void print_chunk(struct extent_buffer *eb, struct btrfs_chunk *chunk)
"num_stripes %d\n",
btrfs_chunk_length(eb, chunk), btrfs_chunk_owner(eb, chunk),
btrfs_chunk_type(eb, chunk), num_stripes);
- for (i = 0 ; i < num_stripes ; i++) {
+ for (i = 0; i < num_stripes; i++) {
printk(KERN_INFO "\t\t\tstripe %d devid %llu offset %llu\n", i,
btrfs_stripe_devid_nr(eb, chunk, i),
btrfs_stripe_offset_nr(eb, chunk, i));
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] BTRFS: fixed a coding style issue
2013-11-05 7:21 [PATCH 1/2] BTRFS: fixed a coding style issue Aldo Iljazi
@ 2013-11-05 7:21 ` Aldo Iljazi
0 siblings, 0 replies; 2+ messages in thread
From: Aldo Iljazi @ 2013-11-05 7:21 UTC (permalink / raw)
To: chris.mason; +Cc: linux-btrfs, linux-kernel
Line 265: Inserted a space before the open parenthesis.
Signed-off-by: Aldo Iljazi <mail@aldo.io>
---
fs/btrfs/async-thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/async-thread.c b/fs/btrfs/async-thread.c
index 08cc08f..8aec751 100644
--- a/fs/btrfs/async-thread.c
+++ b/fs/btrfs/async-thread.c
@@ -262,7 +262,7 @@ static struct btrfs_work *get_next_work(struct btrfs_worker_thread *worker,
struct btrfs_work *work = NULL;
struct list_head *cur = NULL;
- if(!list_empty(prio_head))
+ if (!list_empty(prio_head))
cur = prio_head->next;
smp_mb();
--
1.8.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-05 7:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05 7:21 [PATCH 1/2] BTRFS: fixed a coding style issue Aldo Iljazi
2013-11-05 7:21 ` [PATCH 2/2] " Aldo Iljazi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).