diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-28 02:12:38 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-28 02:12:38 (GMT) |
commit | 0e574af1be5f569a5d7f2800333b0bfb358a5e34 (patch) | |
tree | bb5b62dece21b8906222dfee022020ed6f81e34c /include/linux | |
parent | 4c2cb58c552a34744979a99ccf01762d5eb7e288 (diff) | |
download | linux-fsl-qoriq-0e574af1be5f569a5d7f2800333b0bfb358a5e34.tar.xz |
NFS: Cleanup initialisation of struct nfs_fattr
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_fs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h index 7bac278..8120fd6 100644 --- a/include/linux/nfs_fs.h +++ b/include/linux/nfs_fs.h @@ -316,6 +316,11 @@ extern void nfs_file_clear_open_context(struct file *filp); /* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */ extern u32 root_nfs_parse_addr(char *name); /*__init*/ +static inline void nfs_fattr_init(struct nfs_fattr *fattr) +{ + fattr->valid = 0; +} + /* * linux/fs/nfs/file.c */ |