.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. |
---|
3 | 4 | * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. |
---|
4 | | - * |
---|
5 | | - * This copyrighted material is made available to anyone wishing to use, |
---|
6 | | - * modify, copy, or redistribute it subject to the terms and conditions |
---|
7 | | - * of the GNU General Public License version 2. |
---|
8 | 5 | */ |
---|
9 | 6 | |
---|
10 | 7 | #ifndef __DIR_DOT_H__ |
---|
.. | .. |
---|
35 | 32 | const struct gfs2_inode *ip, struct gfs2_diradd *da); |
---|
36 | 33 | static inline void gfs2_dir_no_add(struct gfs2_diradd *da) |
---|
37 | 34 | { |
---|
38 | | - if (da->bh) |
---|
39 | | - brelse(da->bh); |
---|
| 35 | + brelse(da->bh); |
---|
40 | 36 | da->bh = NULL; |
---|
41 | 37 | } |
---|
42 | 38 | extern int gfs2_dir_del(struct gfs2_inode *dip, const struct dentry *dentry); |
---|