From d4390646866308304b1b44a09c6feddf81feeb6d Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 15 Aug 2005 21:54:11 +0000 Subject: [PATCH] Branch b1_4 Remove unused function, merge from HEAD. --- lustre/obdfilter/filter_io_24.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lustre/obdfilter/filter_io_24.c b/lustre/obdfilter/filter_io_24.c index 36faac9..b0c498e 100644 --- a/lustre/obdfilter/filter_io_24.c +++ b/lustre/obdfilter/filter_io_24.c @@ -41,19 +41,6 @@ #include #include "filter_internal.h" -/* We should only change the file mtime (and not the ctime, like - * update_inode_times() in generic_file_write()) when we only change data. */ -void inode_update_time(struct inode *inode, int ctime_too) -{ - time_t now = CURRENT_TIME; - if (inode->i_mtime == now && (!ctime_too || inode->i_ctime == now)) - return; - inode->i_mtime = now; - if (ctime_too) - inode->i_ctime = now; - mark_inode_dirty_sync(inode); -} - /* Bug 2254 -- this is better done in ext3_map_inode_page, but this * workaround will suffice until everyone has upgraded their kernels */ static void check_pending_bhs(unsigned long *blocks, int nr_pages, dev_t dev, -- 1.8.3.1