aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:38 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-27 22:12:38 -0400
commit0e574af1be5f569a5d7f2800333b0bfb358a5e34 (patch)
treebb5b62dece21b8906222dfee022020ed6f81e34c /include
parent4c2cb58c552a34744979a99ccf01762d5eb7e288 (diff)
NFS: Cleanup initialisation of struct nfs_fattr
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfs_fs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 7bac2785c6e4..8120fd68dee5 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);
316/* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */ 316/* linux/net/ipv4/ipconfig.c: trims ip addr off front of name, too. */
317extern u32 root_nfs_parse_addr(char *name); /*__init*/ 317extern u32 root_nfs_parse_addr(char *name); /*__init*/
318 318
319static inline void nfs_fattr_init(struct nfs_fattr *fattr)
320{
321 fattr->valid = 0;
322}
323
319/* 324/*
320 * linux/fs/nfs/file.c 325 * linux/fs/nfs/file.c
321 */ 326 */