From patchwork Sun Sep 27 02:39:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Dongsheng X-Patchwork-Id: 7272981 Return-Path: X-Original-To: patchwork-linux-fsdevel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E1EC0BEEC1 for ; Sun, 27 Sep 2015 02:46:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E48C8207E7 for ; Sun, 27 Sep 2015 02:46:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9B6FC207E5 for ; Sun, 27 Sep 2015 02:46:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754824AbbI0Cp5 (ORCPT ); Sat, 26 Sep 2015 22:45:57 -0400 Received: from cn.fujitsu.com ([59.151.112.132]:47539 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754806AbbI0Cp5 (ORCPT ); Sat, 26 Sep 2015 22:45:57 -0400 X-IronPort-AV: E=Sophos;i="5.15,520,1432569600"; d="scan'208";a="101138324" Received: from unknown (HELO edo.cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 27 Sep 2015 10:48:34 +0800 Received: from G08CNEXCHPEKD01.g08.fujitsu.local (localhost.localdomain [127.0.0.1]) by edo.cn.fujitsu.com (8.14.3/8.13.1) with ESMTP id t8R2jWRr013558; Sun, 27 Sep 2015 10:45:32 +0800 Received: from yds-PC.g08.fujitsu.local (10.167.226.66) by G08CNEXCHPEKD01.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.181.6; Sun, 27 Sep 2015 10:45:52 +0800 From: Dongsheng Yang To: , , , CC: Dongsheng Yang Subject: [PATCH] UBIFS: Add freeze support in ubifs Date: Sun, 27 Sep 2015 10:39:21 +0800 Message-ID: <1443321561-20581-1-git-send-email-yangds.fnst@cn.fujitsu.com> X-Mailer: git-send-email 1.8.4.2 MIME-Version: 1.0 X-Originating-IP: [10.167.226.66] Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP We need to do nothing in ubifs, as all is already done in vfs. Signed-off-by: Dongsheng Yang --- fs/ubifs/super.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 9547a278..e8f85b5 100644 --- a/fs/ubifs/super.c +++ b/fs/ubifs/super.c @@ -1871,6 +1871,11 @@ static int ubifs_remount_fs(struct super_block *sb, int *flags, char *data) return 0; } +static int ubifs_freeze_fs(struct super_block *sb) +{ + return 0; +} + const struct super_operations ubifs_super_operations = { .alloc_inode = ubifs_alloc_inode, .destroy_inode = ubifs_destroy_inode, @@ -1882,6 +1887,7 @@ const struct super_operations ubifs_super_operations = { .remount_fs = ubifs_remount_fs, .show_options = ubifs_show_options, .sync_fs = ubifs_sync_fs, + .freeze_fs = ubifs_freeze_fs, }; /**