diff options
author | Tom Haynes <Thomas.Haynes@primarydata.com> | 2014-06-05 00:36:05 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-06-09 15:54:29 +0200 |
commit | bf96bc0b3bb04e2a0cc9f5c8cb73179ddbca48df (patch) | |
tree | 0bf026a3df412a50a610deef7c826bffdc74142c /fs/nfs | |
parent | NFS: Use raw_write_seqcount_begin/end int nfs4_reclaim_open_state (diff) | |
download | linux-bf96bc0b3bb04e2a0cc9f5c8cb73179ddbca48df.tar.xz linux-bf96bc0b3bb04e2a0cc9f5c8cb73179ddbca48df.zip |
NFSv4.1: Comment is now wrong and redundant to code
The save of the write offset was removed some time ago, so that
part of the comment is bogus.
The remainder is pretty self-evident.
So off with it!
Signed-off-by: Tom Haynes <Thomas.Haynes@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/filelayout/filelayout.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/nfs/filelayout/filelayout.c b/fs/nfs/filelayout/filelayout.c index a008e8590417..c7fbc917ae3c 100644 --- a/fs/nfs/filelayout/filelayout.c +++ b/fs/nfs/filelayout/filelayout.c @@ -608,10 +608,7 @@ filelayout_write_pagelist(struct nfs_pgio_data *data, int sync) fh = nfs4_fl_select_ds_fh(lseg, j); if (fh) data->args.fh = fh; - /* - * Get the file offset on the dserver. Set the write offset to - * this offset and save the original offset. - */ + data->args.offset = filelayout_get_dserver_offset(lseg, offset); /* Perform an asynchronous write */ |