Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339322
| From | Philippe Loctaux <phil@philippeloctaux.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Btrfs: dir-item: added line after variable declaration |
| Date | 2016-02-22 11:30 +0100 |
| Message-ID | <r4VUC-4ex-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] Btrfs: dir-item: added line after variable declaration Philippe Loctaux <phil@philippeloctaux.com> - 2016-02-22 11:30 +0100
csiph-web