diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-27 22:12:42 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2005-10-27 22:12:42 -0400 |
commit | 91ba2eeec5e8e86e054937eb3bf5aec5b22b1830 (patch) | |
tree | 9157b8bfe90fed0b472da3ec71dadfb0c587e566 /include/linux | |
parent | cf809556149f076b7a020c10e066b2b96e79b6a1 (diff) |
NFSv4: Add post-op attributes to nfs4_proc_link()
Optimise attribute revalidation when hardlinking. Add post-op attributes
for the directory and the original inode.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nfs_xdr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 4f03dc21cf4a..89238b799cfd 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h | |||
@@ -566,8 +566,17 @@ struct nfs4_link_arg { | |||
566 | const struct nfs_fh * fh; | 566 | const struct nfs_fh * fh; |
567 | const struct nfs_fh * dir_fh; | 567 | const struct nfs_fh * dir_fh; |
568 | const struct qstr * name; | 568 | const struct qstr * name; |
569 | const u32 * bitmask; | ||
570 | }; | ||
571 | |||
572 | struct nfs4_link_res { | ||
573 | const struct nfs_server * server; | ||
574 | struct nfs_fattr * fattr; | ||
575 | struct nfs4_change_info cinfo; | ||
576 | struct nfs_fattr * dir_attr; | ||
569 | }; | 577 | }; |
570 | 578 | ||
579 | |||
571 | struct nfs4_lookup_arg { | 580 | struct nfs4_lookup_arg { |
572 | const struct nfs_fh * dir_fh; | 581 | const struct nfs_fh * dir_fh; |
573 | const struct qstr * name; | 582 | const struct qstr * name; |