]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
afs: Note the cell in the superblock info also
authorDavid Howells <dhowells@redhat.com>
Thu, 2 Nov 2017 15:27:46 +0000 (15:27 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 13 Nov 2017 15:38:16 +0000 (15:38 +0000)
commit49566f6f06b38d7c1a5c7eacc8a38c6ea2e36549
treeafeb0ac3d5b11dab5681c302fa7cdd2be5d1e1dd
parent59fa1c4a9f528c2a1556f4b2cd4e055b560c1c0a
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>
fs/afs/internal.h
fs/afs/super.c