]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
NFS: Fix a wraparound issue with nfsi->cache_change_attribute
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 5 Feb 2007 22:26:28 +0000 (14:26 -0800)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 13 Feb 2007 06:40:22 +0000 (22:40 -0800)
commit3e7d950a528454ad749a264feef3c8bad3faa108
treef78795bde4128ca1da658e6cc3f4216f5c999276
parentebf4d8ec02d8a13e1cbbda6fe746f80f3a4ca773
NFS: Fix a wraparound issue with nfsi->cache_change_attribute

Fix wraparound issue with nfsi->cache_change_attribute. If it is found
to lie in the future, then update it to lie in the past. Patch based on
a suggestion by Neil Brown.

..and minor micro-optimisation: avoid reading 'jiffies' more than once in
nfs_update_inode().

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/inode.c