Skip to contentSkip to conversation

NFS mount-api patches

DISCUSSION David Howells 1 participant 2 messages Jun 1, 2018

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
Quoted 5 lines · David Howells

Al pulled my mount API patches into his tree and fixed them up. I've ported my NFS mount-API patches on top of them, so they apply and build (at least with my settings). Do you have time now to have a poke at them to get them to work? (I'm a bit tight for time this afternoon, so I don't have time to test them till next week)

Oh - it needs to take an active ref on the superblock any time you assign to fc->root where you didn't inherit one from sget_fc() or vfs_get_super():

	atomic_inc(&sb->s_active);

as this will be deactivated by put_fs_context() if ->root is set.

David