[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1478099096-25637-4-git-send-email-deepa.kernel@gmail.com>
Date: Wed, 2 Nov 2016 08:04:53 -0700
From: Deepa Dinamani <deepa.kernel@...il.com>
To: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: arnd@...db.de, tglx@...utronix.de, gregkh@...uxfoundation.org,
akpm@...ux-foundation.org, tytso@....edu, viro@...iv.linux.org.uk,
y2038@...ts.linaro.org, linux-afs@...ts.infradead.org
Subject: [RFC 3/6] afs: Add time limits in the super block
Note that all the filesystems that have such simple limits
will be initialized in the same patch.
Signed-off-by: Deepa Dinamani <deepa.kernel@...il.com>
Cc: linux-afs@...ts.infradead.org
---
fs/afs/super.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/fs/afs/super.c b/fs/afs/super.c
index fbdb022..ab00434 100644
--- a/fs/afs/super.c
+++ b/fs/afs/super.c
@@ -321,6 +321,8 @@ static int afs_fill_super(struct super_block *sb,
sb->s_op = &afs_super_ops;
sb->s_bdi = &as->volume->bdi;
strlcpy(sb->s_id, as->volume->vlocation->vldb.name, sizeof(sb->s_id));
+ sb->s_time_max = Y2106_EXPIRY_TIMESTAMP;
+ sb->s_time_min = 0;
/* allocate the root inode and dentry */
fid.vid = as->volume->vid;
--
2.7.4
Powered by blists - more mailing lists