projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fgraph: Initialize tracing_graph_pause at task creation
[linux-2.6-microblaze.git]
/
fs
/
afs
/
volume.c
diff --git
a/fs/afs/volume.c
b/fs/afs/volume.c
index
9bc0509
..
f84194b
100644
(file)
--- a/
fs/afs/volume.c
+++ b/
fs/afs/volume.c
@@
-83,7
+83,7
@@
static struct afs_volume *afs_alloc_volume(struct afs_fs_context *params,
volume->vid = vldb->vid[params->type];
volume->update_at = ktime_get_real_seconds() + afs_volume_record_life;
volume->vid = vldb->vid[params->type];
volume->update_at = ktime_get_real_seconds() + afs_volume_record_life;
- volume->cell = afs_get_cell(params->cell);
+ volume->cell = afs_get_cell(params->cell
, afs_cell_trace_get_vol
);
volume->type = params->type;
volume->type_force = params->force;
volume->name_len = vldb->name_len;
volume->type = params->type;
volume->type_force = params->force;
volume->name_len = vldb->name_len;
@@
-106,7
+106,7
@@
static struct afs_volume *afs_alloc_volume(struct afs_fs_context *params,
return volume;
error_1:
return volume;
error_1:
- afs_put_cell(
params->net, volume->cel
l);
+ afs_put_cell(
volume->cell, afs_cell_trace_put_vo
l);
kfree(volume);
error_0:
return ERR_PTR(ret);
kfree(volume);
error_0:
return ERR_PTR(ret);
@@
-228,7
+228,7
@@
static void afs_destroy_volume(struct afs_net *net, struct afs_volume *volume)
afs_remove_volume_from_cell(volume);
afs_put_serverlist(net, rcu_access_pointer(volume->servers));
afs_remove_volume_from_cell(volume);
afs_put_serverlist(net, rcu_access_pointer(volume->servers));
- afs_put_cell(
net, volume->cel
l);
+ afs_put_cell(
volume->cell, afs_cell_trace_put_vo
l);
trace_afs_volume(volume->vid, atomic_read(&volume->usage),
afs_volume_trace_free);
kfree_rcu(volume, rcu);
trace_afs_volume(volume->vid, atomic_read(&volume->usage),
afs_volume_trace_free);
kfree_rcu(volume, rcu);