diff options
| -rw-r--r-- | fs/exofs/super.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fs/exofs/super.c b/fs/exofs/super.c index 433783624d10..dde41a75c7c8 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c | |||
| @@ -400,8 +400,6 @@ static int exofs_sync_fs(struct super_block *sb, int wait) | |||
| 400 | ret = ore_write(ios); | 400 | ret = ore_write(ios); |
| 401 | if (unlikely(ret)) | 401 | if (unlikely(ret)) |
| 402 | EXOFS_ERR("%s: ore_write failed.\n", __func__); | 402 | EXOFS_ERR("%s: ore_write failed.\n", __func__); |
| 403 | else | ||
| 404 | sb->s_dirt = 0; | ||
| 405 | 403 | ||
| 406 | 404 | ||
| 407 | unlock_super(sb); | 405 | unlock_super(sb); |
| @@ -412,14 +410,6 @@ out: | |||
| 412 | return ret; | 410 | return ret; |
| 413 | } | 411 | } |
| 414 | 412 | ||
| 415 | static void exofs_write_super(struct super_block *sb) | ||
| 416 | { | ||
| 417 | if (!(sb->s_flags & MS_RDONLY)) | ||
| 418 | exofs_sync_fs(sb, 1); | ||
| 419 | else | ||
| 420 | sb->s_dirt = 0; | ||
| 421 | } | ||
| 422 | |||
| 423 | static void _exofs_print_device(const char *msg, const char *dev_path, | 413 | static void _exofs_print_device(const char *msg, const char *dev_path, |
| 424 | struct osd_dev *od, u64 pid) | 414 | struct osd_dev *od, u64 pid) |
| 425 | { | 415 | { |
| @@ -952,7 +942,6 @@ static const struct super_operations exofs_sops = { | |||
| 952 | .write_inode = exofs_write_inode, | 942 | .write_inode = exofs_write_inode, |
| 953 | .evict_inode = exofs_evict_inode, | 943 | .evict_inode = exofs_evict_inode, |
| 954 | .put_super = exofs_put_super, | 944 | .put_super = exofs_put_super, |
| 955 | .write_super = exofs_write_super, | ||
| 956 | .sync_fs = exofs_sync_fs, | 945 | .sync_fs = exofs_sync_fs, |
| 957 | .statfs = exofs_statfs, | 946 | .statfs = exofs_statfs, |
| 958 | }; | 947 | }; |
