| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH 4/4] xfs: Make inode32 a remountable option |
| From: | Carlos Maiolino <cmaiolino@xxxxxxxxxx> |
| Date: | Fri, 14 Sep 2012 13:49:41 -0300 |
| In-reply-to: | <1347641381-30050-1-git-send-email-cmaiolino@xxxxxxxxxx> |
| References: | <1347641381-30050-1-git-send-email-cmaiolino@xxxxxxxxxx> |
As inode64 is the default option now, and was also made remountable previously,
inode32 can also be remounted on-the-fly when it is needed.
Signed-off-by: Carlos Maiolino <cmaiolino@xxxxxxxxxx>
---
fs/xfs/xfs_super.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index c4899d3..052dccb 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -122,13 +122,18 @@ mempool_t *xfs_ioend_pool;
* in the future, too.
*/
enum {
- Opt_barrier, Opt_nobarrier, Opt_inode64, Opt_err
+ Opt_barrier,
+ Opt_nobarrier,
+ Opt_inode64,
+ Opt_inode32,
+ Opt_err
};
static const match_table_t tokens = {
{Opt_barrier, "barrier"},
{Opt_nobarrier, "nobarrier"},
{Opt_inode64, "inode64"},
+ {Opt_inode32, "inode32"},
{Opt_err, NULL}
};
@@ -1145,6 +1150,9 @@ xfs_fs_remount(
case Opt_inode64:
xfs_set_inode64(mp);
break;
+ case Opt_inode32:
+ xfs_set_inode32(mp);
+ break;
default:
/*
* Logically we would return an error here to prevent
--
1.7.11.4
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 3/4] xfs: set xfs_initialize_perag() to use xfs_set_inode32/64(), Carlos Maiolino |
|---|---|
| Next by Date: | Re: [PATCH 1/4] xfs: make inode64 as the default allocation mode, Eric Sandeen |
| Previous by Thread: | [PATCH 3/4] xfs: set xfs_initialize_perag() to use xfs_set_inode32/64(), Carlos Maiolino |
| Next by Thread: | İngilizce Sorunu Tarih Oluyor..., Sevim Tuba GÜRLE |
| Indexes: | [Date] [Thread] [Top] [All Lists] |