aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorWeston Andros Adamson <dros@netapp.com>2012-01-26 13:32:22 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-02-06 18:47:59 -0500
commitf9fd2d9c1f3b512c9794abbbd76c77a6e6de57aa (patch)
treec6496c3820eeb799c7326abb531308363f5be724 /fs/nfs/nfs4xdr.c
parent87e3c0553fcbea79bf9f17fc5694484ecf3ae5e8 (diff)
NFS: printks in fs/nfs/ should start with NFS:
Messages like "Got error -10052 from the server on DESTROY_SESSION. Session has been destroyed regardless" can be confusing to users who aren't very familiar with NFS. NOTE: This patch ignores any printks() that start by printing __func__ - that will be in a separate patch. Signed-off-by: Weston Andros Adamson <dros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 5d1caac0656d..2adcc979e5df 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -1023,7 +1023,7 @@ static void encode_attrs(struct xdr_stream *xdr, const struct iattr *iap, const
1023 * Now we backfill the bitmap and the attribute buffer length. 1023 * Now we backfill the bitmap and the attribute buffer length.
1024 */ 1024 */
1025 if (len != ((char *)p - (char *)q) + 4) { 1025 if (len != ((char *)p - (char *)q) + 4) {
1026 printk(KERN_ERR "nfs: Attr length error, %u != %Zu\n", 1026 printk(KERN_ERR "NFS: Attr length error, %u != %Zu\n",
1027 len, ((char *)p - (char *)q) + 4); 1027 len, ((char *)p - (char *)q) + 4);
1028 BUG(); 1028 BUG();
1029 } 1029 }