Skip to contentSkip to conversation

ovl: remove unused macro

PATCH New Alex Shi 1 participant 1 message Jan 21, 2020 Overlay filesystem

lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 ovl: remove unused macro

OVL_NLINK_ADD_UPPER macro is never used from it was introduced. Better to remove it.

---
 fs/overlayfs/inode.c | 2 --
 1 file changed, 2 deletions(-)
fs/overlayfs/inode.c +0 -2
index b045cf1826fc..7138561f955a 100644
@@ -627,8 +627,6 @@ static void ovl_fill_inode(struct inode *inode, umode_t mode, dev_t rdev,
  * upper inode where the nlink xattr can be stored before the copied up upper
  * entry is unlink.
  */
-#define OVL_NLINK_ADD_UPPER	(1 << 0)
-
 /*
  * On-disk format for indexed nlink:
  *
Signature · 1 line
1.8.3.1