diff options
| author | 2012-01-04 16:30:15 -0600 | |
|---|---|---|
| committer | 2012-01-11 16:28:25 -0800 | |
| commit | d46cfba5363a163851dc768f717f34185527a472 (patch) | |
| tree | 18aaa9ab40b91b618ab206670de7a965f17589d1 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | libceph: remove useless return value for osd_client __send_request() (diff) | |
| download | wireguard-linux-d46cfba5363a163851dc768f717f34185527a472.tar.xz wireguard-linux-d46cfba5363a163851dc768f717f34185527a472.zip | |
ceph: always initialize the dentry in open_root_dentry()
When open_root_dentry() gets a dentry via d_obtain_alias() it does
not get initialized. If the dentry obtained came from the cache,
this is OK. But if not, the result is an improperly initialized
dentry.
To fix this, call ceph_init_dentry() regardless of which path
produced the dentry. That function returns immediately for a dentry
that is already initialized, it is safe to use either way.
(Credit to Sage, who suggested this fix.)
Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
