From 064757615d80fef2ded935d61a0363a3474d0da5 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Mon, 4 Jun 2012 14:48:27 +0300 Subject: [PATCH] --- yaml --- r: 321373 b: refs/heads/master c: 66153f6e0f89c75d18e490739b0149dfd2e53b69 h: refs/heads/master i: 321371: 29eb0305da3a802093f1553c0927b26481988cbf v: v3 --- [refs] | 2 +- trunk/fs/exofs/super.c | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/[refs] b/[refs] index dbcc4484671a..385529b214e7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0e8d96dd2c99405c707f540b5922ec869b848979 +refs/heads/master: 66153f6e0f89c75d18e490739b0149dfd2e53b69 diff --git a/trunk/fs/exofs/super.c b/trunk/fs/exofs/super.c index 433783624d10..dde41a75c7c8 100644 --- a/trunk/fs/exofs/super.c +++ b/trunk/fs/exofs/super.c @@ -400,8 +400,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait) ret = ore_write(ios); if (unlikely(ret)) EXOFS_ERR("%s: ore_write failed.\n", __func__); - else - sb->s_dirt = 0; unlock_super(sb); @@ -412,14 +410,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait) return ret; } -static void exofs_write_super(struct super_block *sb) -{ - if (!(sb->s_flags & MS_RDONLY)) - exofs_sync_fs(sb, 1); - else - sb->s_dirt = 0; -} - static void _exofs_print_device(const char *msg, const char *dev_path, struct osd_dev *od, u64 pid) { @@ -952,7 +942,6 @@ static const struct super_operations exofs_sops = { .write_inode = exofs_write_inode, .evict_inode = exofs_evict_inode, .put_super = exofs_put_super, - .write_super = exofs_write_super, .sync_fs = exofs_sync_fs, .statfs = exofs_statfs, };