Commit 2b8095b7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] C99 patch for fs/afs/inode.c

From: "Art Haas" <ahaas@airmail.net>

This patch converts the file to use C99 initializers.  The file had this
patch applied before, but a subsequent patch reversed the change and
readded the GNU-style initializer.  This patch brings back the C99 one.
parent 3e224250
......@@ -147,7 +147,7 @@ static int afs_iget5_set(struct inode *inode, void *opaque)
inline int afs_iget(struct super_block *sb, struct afs_fid *fid,
struct inode **_inode)
{
struct afs_iget_data data = { fid: *fid };
struct afs_iget_data data = { .fid = *fid };
struct afs_super_info *as;
struct afs_vnode *vnode;
struct inode *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