diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-04-16 15:46:56 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-17 09:04:04 -0400 |
| commit | f01fa5fb35c132587855be788297771e94b84330 (patch) | |
| tree | dcf5d5bc94a8303314dd176827e899ad226908ce /fs/hfsplus | |
| parent | 13f244852f1197b623af2d3076fae197d2e038ec (diff) | |
hfsplus: add missing curly braces in hfsplus_delete_cat()
This doesn't change how the code works, but clearly the curly braces were
intended.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Sougata Santra <sougata@tuxera.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfsplus')
| -rw-r--r-- | fs/hfsplus/catalog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/hfsplus/catalog.c b/fs/hfsplus/catalog.c index 7892e6fddb66..022974ab6e3c 100644 --- a/fs/hfsplus/catalog.c +++ b/fs/hfsplus/catalog.c | |||
| @@ -350,10 +350,11 @@ int hfsplus_delete_cat(u32 cnid, struct inode *dir, struct qstr *str) | |||
| 350 | &fd.search_key->cat.name.unicode, | 350 | &fd.search_key->cat.name.unicode, |
| 351 | off + 2, len); | 351 | off + 2, len); |
| 352 | fd.search_key->key_len = cpu_to_be16(6 + len); | 352 | fd.search_key->key_len = cpu_to_be16(6 + len); |
| 353 | } else | 353 | } else { |
| 354 | err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); | 354 | err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); |
| 355 | if (unlikely(err)) | 355 | if (unlikely(err)) |
| 356 | goto out; | 356 | goto out; |
| 357 | } | ||
| 357 | 358 | ||
| 358 | err = hfs_brec_find(&fd, hfs_find_rec_by_key); | 359 | err = hfs_brec_find(&fd, hfs_find_rec_by_key); |
| 359 | if (err) | 360 | if (err) |
