Skip to content

Commit f3ae1b9

Browse files
Fabian Fredericktorvalds
authored andcommitted
fs/ceph: replace pr_warning by pr_warn
Update the last pr_warning callsites in fs branch Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Sage Weil <sage@inktank.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 844e4d6 commit f3ae1b9

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎fs/ceph/addr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ static int ceph_writepages_start(struct address_space *mapping,
694694
(wbc->sync_mode == WB_SYNC_ALL ? "ALL" : "HOLD"));
695695

696696
if (fsc->mount_state == CEPH_MOUNT_SHUTDOWN) {
697-
pr_warning("writepage_start %p on forced umount\n", inode);
697+
pr_warn("writepage_start %p on forced umount\n", inode);
698698
return -EIO; /* we're in a forced umount, don't write! */
699699
}
700700
if (fsc->mount_options->wsize && fsc->mount_options->wsize < wsize)

‎fs/ceph/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ static int fill_inode(struct inode *inode,
821821
spin_unlock(&ci->i_ceph_lock);
822822
}
823823
} else if (cap_fmode >= 0) {
824-
pr_warning("mds issued no caps on %llx.%llx\n",
824+
pr_warn("mds issued no caps on %llx.%llx\n",
825825
ceph_vinop(inode));
826826
__ceph_get_fmode(ci, cap_fmode);
827827
}

‎fs/ceph/mds_client.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,13 +2218,13 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
22182218
/* dup? */
22192219
if ((req->r_got_unsafe && !head->safe) ||
22202220
(req->r_got_safe && head->safe)) {
2221-
pr_warning("got a dup %s reply on %llu from mds%d\n",
2221+
pr_warn("got a dup %s reply on %llu from mds%d\n",
22222222
head->safe ? "safe" : "unsafe", tid, mds);
22232223
mutex_unlock(&mdsc->mutex);
22242224
goto out;
22252225
}
22262226
if (req->r_got_safe && !head->safe) {
2227-
pr_warning("got unsafe after safe on %llu from mds%d\n",
2227+
pr_warn("got unsafe after safe on %llu from mds%d\n",
22282228
tid, mds);
22292229
mutex_unlock(&mdsc->mutex);
22302230
goto out;
@@ -3525,7 +3525,7 @@ static void peer_reset(struct ceph_connection *con)
35253525
struct ceph_mds_session *s = con->private;
35263526
struct ceph_mds_client *mdsc = s->s_mdsc;
35273527

3528-
pr_warning("mds%d closed our session\n", s->s_mds);
3528+
pr_warn("mds%d closed our session\n", s->s_mds);
35293529
send_mds_reconnect(mdsc, s);
35303530
}
35313531

‎fs/ceph/mdsmap.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ struct ceph_mdsmap *ceph_mdsmap_decode(void **p, void *end)
6262

6363
ceph_decode_16_safe(p, end, version, bad);
6464
if (version > 3) {
65-
pr_warning("got mdsmap version %d > 3, failing", version);
65+
pr_warn("got mdsmap version %d > 3, failing", version);
6666
goto bad;
6767
}
6868

0 commit comments

Comments
 (0)