diff options
author | Sage Weil <sage@newdream.net> | 2011-08-09 15:03:46 -0700 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-10-25 16:10:15 -0700 |
commit | b61c27636fffbaf1980e675282777b9467254a40 (patch) | |
tree | bd78cfefda4beb7e3de5fe97dd36fed3dbfa91c1 /fs/ceph/caps.c | |
parent | f6a2f5be07463ef532b9f4e3cb9e42ab9df85832 (diff) | |
download | linux-b61c27636fffbaf1980e675282777b9467254a40.tar.gz linux-b61c27636fffbaf1980e675282777b9467254a40.tar.bz2 linux-b61c27636fffbaf1980e675282777b9467254a40.zip |
libceph: don't complain on msgpool alloc failures
The pool allocation failures are masked by the pool; there is no need to
spam the console about them. (That's the whole point of having the pool
in the first place.)
Mark msg allocations whose failure is safely handled as such.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/caps.c')
-rw-r--r-- | fs/ceph/caps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/caps.c b/fs/ceph/caps.c index 8d74ad7ba556..b8731bf3ef1f 100644 --- a/fs/ceph/caps.c +++ b/fs/ceph/caps.c @@ -945,7 +945,7 @@ static int send_cap_msg(struct ceph_mds_session *session, seq, issue_seq, mseq, follows, size, max_size, xattr_version, xattrs_buf ? (int)xattrs_buf->vec.iov_len : 0); - msg = ceph_msg_new(CEPH_MSG_CLIENT_CAPS, sizeof(*fc), GFP_NOFS); + msg = ceph_msg_new(CEPH_MSG_CLIENT_CAPS, sizeof(*fc), GFP_NOFS, false); if (!msg) return -ENOMEM; |