diff options
author | Benny Halevy <bhalevy@panasas.com> | 2008-01-23 07:58:59 +0100 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-01-30 08:06:11 +0100 |
commit | 3a10c30acc4821ca000b52ed0edafd0d3bf26a52 (patch) | |
tree | 535fe870e12f9a032112b16d4e31fe1d813ea2c3 /fs/nfs/read.c | |
parent | NFS: Address memory leaks in the NFS client mount option parser (diff) | |
download | linux-3a10c30acc4821ca000b52ed0edafd0d3bf26a52.tar.xz linux-3a10c30acc4821ca000b52ed0edafd0d3bf26a52.zip |
nfs: obliterate NFS_FLAGS macro
use NFS_I(inode)->flags instead
Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/read.c')
-rw-r--r-- | fs/nfs/read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/read.c b/fs/nfs/read.c index efc121c494fe..8fd6dfbe1bc3 100644 --- a/fs/nfs/read.c +++ b/fs/nfs/read.c @@ -336,7 +336,7 @@ int nfs_readpage_result(struct rpc_task *task, struct nfs_read_data *data) nfs_add_stats(data->inode, NFSIOS_SERVERREADBYTES, data->res.count); if (task->tk_status == -ESTALE) { - set_bit(NFS_INO_STALE, &NFS_FLAGS(data->inode)); + set_bit(NFS_INO_STALE, &NFS_I(data->inode)->flags); nfs_mark_for_revalidate(data->inode); } return 0; |