forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'for-4.1' of git://linux-nfs.org/~bfields/linux
Pull nfsd updates from Bruce Fields: "A quiet cycle this time; this is basically entirely bugfixes. The few that aren't cc'd to stable are cleanup or seemed unlikely to affect anyone much" * 'for-4.1' of git://linux-nfs.org/~bfields/linux: uapi: Remove kernel internal declaration nfsd: fix nsfd startup race triggering BUG_ON nfsd: eliminate NFSD_DEBUG nfsd4: fix READ permission checking nfsd4: disallow SEEK with special stateids nfsd4: disallow ALLOCATE with special stateids nfsd: add NFSEXP_PNFS to the exflags array nfsd: Remove duplicate macro define for max sec label length nfsd: allow setting acls with unenforceable DENYs nfsd: NFSD_FAULT_INJECTION depends on DEBUG_FS nfsd: remove unused status arg to nfsd4_cleanup_open_state nfsd: remove bogus setting of status in nfsd4_process_open2 NFSD: Use correct reply size calculating function NFSD: Using path_equal() for checking two paths
- Loading branch information
Showing
14 changed files
with
45 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1250,15 +1250,15 @@ static int __init init_nfsd(void) | |
int retval; | ||
printk(KERN_INFO "Installing knfsd (copyright (C) 1996 [email protected]).\n"); | ||
|
||
retval = register_cld_notifier(); | ||
if (retval) | ||
return retval; | ||
retval = register_pernet_subsys(&nfsd_net_ops); | ||
if (retval < 0) | ||
goto out_unregister_notifier; | ||
retval = nfsd4_init_slabs(); | ||
return retval; | ||
retval = register_cld_notifier(); | ||
if (retval) | ||
goto out_unregister_pernet; | ||
retval = nfsd4_init_slabs(); | ||
if (retval) | ||
goto out_unregister_notifier; | ||
retval = nfsd4_init_pnfs(); | ||
if (retval) | ||
goto out_free_slabs; | ||
|
@@ -1290,10 +1290,10 @@ static int __init init_nfsd(void) | |
nfsd4_exit_pnfs(); | ||
out_free_slabs: | ||
nfsd4_free_slabs(); | ||
out_unregister_pernet: | ||
unregister_pernet_subsys(&nfsd_net_ops); | ||
out_unregister_notifier: | ||
unregister_cld_notifier(); | ||
out_unregister_pernet: | ||
unregister_pernet_subsys(&nfsd_net_ops); | ||
return retval; | ||
} | ||
|
||
|
@@ -1308,8 +1308,8 @@ static void __exit exit_nfsd(void) | |
nfsd4_exit_pnfs(); | ||
nfsd_fault_inject_cleanup(); | ||
unregister_filesystem(&nfsd_fs_type); | ||
unregister_pernet_subsys(&nfsd_net_ops); | ||
unregister_cld_notifier(); | ||
unregister_pernet_subsys(&nfsd_net_ops); | ||
} | ||
|
||
MODULE_AUTHOR("Olaf Kirch <[email protected]>"); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters