Commit 991d0dcb authored by Petr Vandrovec's avatar Petr Vandrovec Committed by Linus Torvalds

[PATCH] C99 designated initializers for fs/ncpfs

More C99 initializers fixes in ncpfs. By Art Haas <ahaas@neosoft.com>
parent 8bae8620
......@@ -221,9 +221,9 @@ static void ncp_set_attr(struct inode *inode, struct ncp_entry_info *nwinfo)
}
static struct inode_operations ncp_symlink_inode_operations = {
readlink: page_readlink,
follow_link: page_follow_link,
setattr: ncp_notify_change,
.readlink = page_readlink,
.follow_link = page_follow_link,
.setattr = ncp_notify_change,
};
/*
......
......@@ -90,7 +90,7 @@ static struct page* ncp_file_mmap_nopage(struct vm_area_struct *area,
static struct vm_operations_struct ncp_file_mmap =
{
nopage: ncp_file_mmap_nopage,
.nopage = ncp_file_mmap_nopage,
};
......
......@@ -100,7 +100,7 @@ static int ncp_symlink_readpage(struct file *file, struct page *page)
* symlinks can't do much...
*/
struct address_space_operations ncp_symlink_aops = {
readpage: ncp_symlink_readpage,
.readpage = ncp_symlink_readpage,
};
/* ----- create a new symbolic link -------------------------------------- */
......
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