浏览代码

[XFS] Remove a null CELL macro and its one caller, not useful to anyone.

SGI-PV: 942986
SGI-Modid: xfs-linux:xfs-kern:23860a

Signed-off-by: Nathan Scott <nathans@sgi.com>
Nathan Scott 19 年之前
父节点
当前提交
0fdfb3757f
共有 2 个文件被更改,包括 0 次插入6 次删除
  1. 0 4
      fs/xfs/linux-2.6/xfs_linux.h
  2. 0 2
      fs/xfs/xfs_rename.c

+ 0 - 4
fs/xfs/linux-2.6/xfs_linux.h

@@ -197,10 +197,6 @@ static inline void set_buffer_unwritten_io(struct buffer_head *bh)
 /* bytes to clicks */
 #define btoc(x)         (((__psunsigned_t)(x)+(NBPC-1))>>BPCSHIFT)
 
-#ifndef CELL_CAPABLE
-#define FSC_NOTIFY_NAME_CHANGED(vp)
-#endif
-
 #ifndef ENOATTR
 #define ENOATTR		ENODATA		/* Attribute not found */
 #endif

+ 0 - 2
fs/xfs/xfs_rename.c

@@ -620,8 +620,6 @@ xfs_rename(
 		IRELE(target_ip);
 	}
 
-	FSC_NOTIFY_NAME_CHANGED(XFS_ITOV(src_ip));
-
 	IRELE(src_ip);
 
 	/* Fall through to std_return with error = 0 or errno from