diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-12 22:01:48 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-03-12 22:15:22 (GMT) |
commit | 9a3ba432330e504ac61ff0043dbdaba7cea0e35a (patch) | |
tree | 1efadb9ff2c7a662bf8cb6da9a7bd70595810b02 /fs/nfs/nfs4proc.c | |
parent | 0097143c12e279f5d454e0f636a02afff102cc6a (diff) | |
download | linux-fsl-qoriq-9a3ba432330e504ac61ff0043dbdaba7cea0e35a.tar.xz |
NFSv4: Rate limit the state manager warning messages
Prevent the state manager from filling up system logs when recovery
fails on the server.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r-- | fs/nfs/nfs4proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index 36a7cda..5e0961a 100644 --- a/fs/nfs/nfs4proc.c +++ b/fs/nfs/nfs4proc.c @@ -1876,7 +1876,7 @@ static struct nfs4_state *nfs4_do_open(struct inode *dir, struct dentry *dentry, * the user though... */ if (status == -NFS4ERR_BAD_SEQID) { - printk(KERN_WARNING "NFS: v4 server %s " + pr_warn_ratelimited("NFS: v4 server %s " " returned a bad sequence-id error!\n", NFS_SERVER(dir)->nfs_client->cl_hostname); exception.retry = 1; |