Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1513902 > unrolled thread

[RFC 3/6] afs: Add time limits in the super block

Started byDeepa Dinamani <deepa.kernel@gmail.com>
First post2016-11-02 16:10 +0100
Last post2016-11-02 16:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [RFC 3/6] afs: Add time limits in the super block Deepa Dinamani <deepa.kernel@gmail.com> - 2016-11-02 16:10 +0100

#1513902 — [RFC 3/6] afs: Add time limits in the super block

FromDeepa Dinamani <deepa.kernel@gmail.com>
Date2016-11-02 16:10 +0100
Subject[RFC 3/6] afs: Add time limits in the super block
Message-ID<sz5kS-7UD-5@gated-at.bofh.it>
Note that all the filesystems that have such simple limits
will be initialized in the same patch.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Cc: linux-afs@lists.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web