diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 18:45:47 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-07-24 22:16:41 +0200 |
commit | f71dfe8fc947e04a9e3d10723d4ec4c5c44ce0f5 (patch) | |
tree | 1549ee274eb1b1b88e5c13f65d9a97302373b87c /fs/nfs/pnfs.c | |
parent | pNFS: Clear the layout metadata if the server changed the layout stateid (diff) | |
download | linux-f71dfe8fc947e04a9e3d10723d4ec4c5c44ce0f5.tar.xz linux-f71dfe8fc947e04a9e3d10723d4ec4c5c44ce0f5.zip |
pNFS: Remove redundant pnfs_mark_layout_returned_if_empty()
That's already being taken care of in pnfs_layout_remove_lseg().
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/pnfs.c')
-rw-r--r-- | fs/nfs/pnfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/nfs/pnfs.c b/fs/nfs/pnfs.c index e16997da157f..49e952968ede 100644 --- a/fs/nfs/pnfs.c +++ b/fs/nfs/pnfs.c @@ -1159,7 +1159,6 @@ void pnfs_roc_set_barrier(struct inode *ino, u32 barrier) spin_lock(&ino->i_lock); lo = NFS_I(ino)->layout; - pnfs_mark_layout_returned_if_empty(lo); if (pnfs_seqid_is_newer(barrier, lo->plh_barrier)) lo->plh_barrier = barrier; spin_unlock(&ino->i_lock); |