Skip to contentSkip to conversation

block: remove NFL4_UFLG_MASK

PATCH Applied Christoph Hellwig 2 participants 2 messages May 20, 2023 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove NFL4_UFLG_MASK

The NFL4_UFLG_MASK define slipped in in commit 9208d4149758 ("block: add a ->get_unique_id method") and should never have been added, as NFSD as the only user of it already has it's copy.

---
 include/linux/blkdev.h | 2 --
 1 file changed, 2 deletions(-)
include/linux/blkdev.h +0 -2
index 361341aea82ce5..96897d10b81327 100644
@@ -1379,8 +1379,6 @@ enum blk_unique_id {
 	BLK_UID_NAA	= 3,
 };
 
-#define NFL4_UFLG_MASK			0x0000003F
-
 struct block_device_operations {
 	void (*submit_bio)(struct bio *bio);
 	int (*poll_bio)(struct bio *bio, struct io_comp_batch *iob,
Signature · 1 line
2.39.2
maintainer Applied
#1 lore raw
Quoted 5 lines · Christoph Hellwig

The NFL4_UFLG_MASK define slipped in in commit 9208d4149758 ("block: add a ->get_unique_id method") and should never have been added, as NFSD as the only user of it already has it's copy.

Applied, thanks!

[1/1] block: remove NFL4_UFLG_MASK

      commit: e3afec91aad23c52dfe426c7d7128e4839c3eed8

Best regards,

Signature · 1 line
Jens Axboe