The patch titled nfs functions undefined has been removed from the -mm tree. Its filename was nfs-stop-sillyname-renames-and-unmounts-from-racing-fix-fix-fix.patch This patch was dropped because an updated version will be merged ------------------------------------------------------ Subject: nfs functions undefined From: Randy Dunlap <randy.dunlap@xxxxxxxxxx> nfs_put_super() and nfs_sb_deactive() should not be inside an ifdef CONFIG_NFS_V4 block. ERROR: "nfs_put_super" [fs/nfs/nfs.ko] undefined! ERROR: "nfs_sb_deactive" [fs/nfs/nfs.ko] undefined! Signed-off-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Cc: Steve Dickson <steved@xxxxxxxxxx> Cc: Jiri Slaby <jirislaby@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/nfs/super.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff -puN fs/nfs/super.c~nfs-stop-sillyname-renames-and-unmounts-from-racing-fix-fix-fix fs/nfs/super.c --- a/fs/nfs/super.c~nfs-stop-sillyname-renames-and-unmounts-from-racing-fix-fix-fix +++ a/fs/nfs/super.c @@ -1499,6 +1499,23 @@ error_splat_super: return error; } +static void nfs_put_super(struct super_block *sb) +{ + struct nfs_server *server = NFS_SB(sb); + /* + * Make sure there are no outstanding ops to this server. + * If so, wait for them to finish before allowing the + * unmount to continue. + */ + wait_event(server->active_wq, atomic_read(&server->active) == 0); +} + +void nfs_sb_deactive(struct nfs_server *server) +{ + if (atomic_dec_and_test(&server->active)) + wake_up(&server->active_wq); +} + #ifdef CONFIG_NFS_V4 /* @@ -1771,17 +1788,6 @@ static void nfs4_kill_super(struct super nfs_free_server(server); } -static void nfs_put_super(struct super_block *sb) -{ - struct nfs_server *server = NFS_SB(sb); - /* - * Make sure there are no outstanding ops to this server. - * If so, wait for them to finish before allowing the - * unmount to continue. - */ - wait_event(server->active_wq, atomic_read(&server->active) == 0); -} - /* * Clone an NFS4 server record on xdev traversal (FSID-change) */ @@ -1929,10 +1935,4 @@ error_splat_super: return error; } -void nfs_sb_deactive(struct nfs_server *server) -{ - if (atomic_dec_and_test(&server->active)) - wake_up(&server->active_wq); -} - #endif /* CONFIG_NFS_V4 */ _ Patches currently in -mm which might be from randy.dunlap@xxxxxxxxxx are origin.patch git-dvb.patch git-kbuild.patch nfs-stop-sillyname-renames-and-unmounts-from-racing-fix-fix-fix.patch git-scsi-misc.patch advansys-fix-section-mismatch-warning.patch aic94-fix-section-mismatches.patch sym2-fix-section-mismatch-warning.patch git-unionfs.patch git-ipwireless_cs.patch git-x86.patch register_cpu-__devinit-or-__cpuinit.patch cciss-use-upper_32_bits-macro-to-eliminate-warnings.patch move-kprobes-examples-to-samples-resend.patch move-kprobes-examples-to-samples-resend-checkpatch-fixes.patch fs-menu-small-reorg.patch profile-likely-unlikely-macros.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html