diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 | 
| commit | 62910554656cdcd6b6f84a5154c4155aae4ca231 (patch) | |
| tree | dcf14004f6fd2ef7154362ff948bfeba0f3ea92d /fs/nfs/inode.c | |
| parent | 22265a5c3c103cf8c50be62e6c90d045eb649e6d (diff) | |
| parent | ab9304717f7624c41927f442e6b6d418b2d8b3e4 (diff) | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
	Documentation/feature-removal-schedule.txt
	net/ipv6/netfilter/ip6t_REJECT.c
	net/netfilter/xt_limit.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'fs/nfs/inode.c')
| -rw-r--r-- | fs/nfs/inode.c | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 657201acda84..737128f777f3 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
| @@ -36,6 +36,7 @@ | |||
| 36 | #include <linux/vfs.h> | 36 | #include <linux/vfs.h> | 
| 37 | #include <linux/inet.h> | 37 | #include <linux/inet.h> | 
| 38 | #include <linux/nfs_xdr.h> | 38 | #include <linux/nfs_xdr.h> | 
| 39 | #include <linux/slab.h> | ||
| 39 | 40 | ||
| 40 | #include <asm/system.h> | 41 | #include <asm/system.h> | 
| 41 | #include <asm/uaccess.h> | 42 | #include <asm/uaccess.h> | 
| @@ -729,7 +730,7 @@ int nfs_attribute_timeout(struct inode *inode) | |||
| 729 | { | 730 | { | 
| 730 | struct nfs_inode *nfsi = NFS_I(inode); | 731 | struct nfs_inode *nfsi = NFS_I(inode); | 
| 731 | 732 | ||
| 732 | if (nfs_have_delegation(inode, FMODE_READ)) | 733 | if (nfs_have_delegated_attributes(inode)) | 
| 733 | return 0; | 734 | return 0; | 
| 734 | return !time_in_range_open(jiffies, nfsi->read_cache_jiffies, nfsi->read_cache_jiffies + nfsi->attrtimeo); | 735 | return !time_in_range_open(jiffies, nfsi->read_cache_jiffies, nfsi->read_cache_jiffies + nfsi->attrtimeo); | 
| 735 | } | 736 | } | 
