* [PATCH] Btrfs: dir-item: added line after variable declaration
@ 2016-02-22 9:51 Philippe Loctaux
0 siblings, 0 replies; only message in thread
From: Philippe Loctaux @ 2016-02-22 9:51 UTC (permalink / raw)
To: clm; +Cc: jbacik, dsterba, linux-btrfs, linux-kernel, Philippe Loctaux
Added line after variable declaration, fixing checkpatch warning.
Signed-off-by: Philippe Loctaux <phil@philippeloctaux.com>
---
fs/btrfs/dir-item.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fs/btrfs/dir-item.c b/fs/btrfs/dir-item.c
index 1752625..70c39a3 100644
--- a/fs/btrfs/dir-item.c
+++ b/fs/btrfs/dir-item.c
@@ -46,6 +46,7 @@ static struct btrfs_dir_item *insert_with_overflow(struct btrfs_trans_handle
ret = btrfs_insert_empty_item(trans, root, path, cpu_key, data_size);
if (ret == -EEXIST) {
struct btrfs_dir_item *di;
+
di = btrfs_match_dir_item_name(root, path, name, name_len);
if (di)
return ERR_PTR(-EEXIST);
--
2.7.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-02-22 9:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22 9:51 [PATCH] Btrfs: dir-item: added line after variable declaration Philippe Loctaux
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).