[PATCH] ovl: remove unused macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>
Cc: Amir Goldstein <amir73il@xxxxxxxxx>
Cc: Miklos Szeredi <miklos@xxxxxxxxxx> 
Cc: linux-unionfs@xxxxxxxxxxxxxxx 
Cc: linux-kernel@xxxxxxxxxxxxxxx 
---
 fs/overlayfs/inode.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c
index b045cf1826fc..7138561f955a 100644
--- a/fs/overlayfs/inode.c
+++ b/fs/overlayfs/inode.c
@@ -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:
  *
-- 
1.8.3.1




[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux