diff options
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_fs.c')
-rw-r--r-- | drivers/infiniband/hw/ipath/ipath_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_fs.c b/drivers/infiniband/hw/ipath/ipath_fs.c index 4977082e081f..33c45dfcbd88 100644 --- a/drivers/infiniband/hw/ipath/ipath_fs.c +++ b/drivers/infiniband/hw/ipath/ipath_fs.c | |||
@@ -277,7 +277,7 @@ static int remove_file(struct dentry *parent, char *name) | |||
277 | } | 277 | } |
278 | 278 | ||
279 | spin_lock(&tmp->d_lock); | 279 | spin_lock(&tmp->d_lock); |
280 | if (!(d_unhashed(tmp) && tmp->d_inode)) { | 280 | if (!d_unhashed(tmp) && tmp->d_inode) { |
281 | dget_dlock(tmp); | 281 | dget_dlock(tmp); |
282 | __d_drop(tmp); | 282 | __d_drop(tmp); |
283 | spin_unlock(&tmp->d_lock); | 283 | spin_unlock(&tmp->d_lock); |