Skip to content

Commit d401c08

Browse files
authored
Merge pull request ceph#63603 from tchaikov/wip-bluestore-nullptr
os/bluestore/BlueFS: use nullptr when appropriate Reviewed-by: Igor Fedotov <[email protected]>
2 parents 54c94f1 + e00ec10 commit d401c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/os/bluestore/BlueFS.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class BlueFS {
563563
struct {
564564
ceph::mutex lock = ceph::make_mutex("BlueFS::log.lock");
565565
uint64_t seq_live = 1; //seq that log is currently writing to; mirrors dirty.seq_live
566-
FileWriter *writer = 0;
566+
FileWriter *writer = nullptr;
567567
bluefs_transaction_t t;
568568
bool uses_envelope_mode = false; // true if any file is in envelope mode
569569
} log;

0 commit comments

Comments
 (0)