NFS: Identify root_nfs_parse_addr() as truly __init.
Subsystems (2)
PATCH 1/1 NFS: Identify root_nfs_parse_addr() as truly __init.
---
unless there's a reason not to, might as well tag that function as
truly __init to match its definition.
not compile tested.
include/linux/nfs_fs.h +1 -1
@@ -298,7 +298,7 @@ extern struct nfs_open_context *nfs_find_open_context(struct inode *inode, strucextern u64 nfs_compat_user_ino64 (u64 fileid);/* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */ -extern __be32 root_nfs_parse_addr (char *name);/*__init*/ +extern __be32 root_nfs_parse_addr (char *name)__init ;static inline void nfs_fattr_init (struct nfs_fattr *fattr) {
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that [email protected] is being discontinued. Please subscribe to [email protected] instead.
http://vger.kernel.org/vger-lists.html#linux-nfs