Commit 2b95b034 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] Remove compile warning from fs/ncpfs/inode.c

From:  Bob Miller <rem@osdl.org>
parent 5858a0a8
...@@ -227,11 +227,13 @@ static void ncp_set_attr(struct inode *inode, struct ncp_entry_info *nwinfo) ...@@ -227,11 +227,13 @@ static void ncp_set_attr(struct inode *inode, struct ncp_entry_info *nwinfo)
ncp_update_inode(inode, nwinfo); ncp_update_inode(inode, nwinfo);
} }
#if defined(CONFIG_NCPFS_EXTRAS) || defined(CONFIG_NCPFS_NFS_NS)
static struct inode_operations ncp_symlink_inode_operations = { static struct inode_operations ncp_symlink_inode_operations = {
.readlink = page_readlink, .readlink = page_readlink,
.follow_link = page_follow_link, .follow_link = page_follow_link,
.setattr = ncp_notify_change, .setattr = ncp_notify_change,
}; };
#endif
/* /*
* Get a new inode. * Get a new inode.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment