mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
NFS: Cleanup initialisation of struct nfs_fattr
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
4c2cb58c55
commit
0e574af1be
7 changed files with 71 additions and 65 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue