mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
afs: Note the cell in the superblock info also
Keep a reference to the cell in the superblock info structure in addition to the volume and net pointers. This will make it easier to clean up in a future patch in which afs_put_volume() will need the cell pointer. Whilst we're at it, make the cell and volume getting functions return a pointer to the object got to make the call sites look neater. Signed-off-by: David Howells <dhowells@redhat.com>
This commit is contained in:
parent
59fa1c4a9f
commit
49566f6f06
2 changed files with 48 additions and 24 deletions
Loading…
Add table
Add a link
Reference in a new issue