]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/ufs/super.c
Merge tag 'linux-watchdog-5.4-rc1' of git://www.linux-watchdog.org/linux-watchdog
[linux.git] / fs / ufs / super.c
index 4ed0dca52ec861893f637fd5f529b03474a78da0..1da0be667409b2cdc302e2cb2b9291bad2842ba6 100644 (file)
@@ -843,6 +843,10 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
 
        sb->s_maxbytes = MAX_LFS_FILESIZE;
 
+       sb->s_time_gran = NSEC_PER_SEC;
+       sb->s_time_min = S32_MIN;
+       sb->s_time_max = S32_MAX;
+
        switch (sbi->s_mount_opt & UFS_MOUNT_UFSTYPE) {
        case UFS_MOUNT_UFSTYPE_44BSD:
                UFSD("ufstype=44bsd\n");
@@ -861,6 +865,9 @@ static int ufs_fill_super(struct super_block *sb, void *data, int silent)
                uspi->s_fshift = 9;
                uspi->s_sbsize = super_block_size = 1536;
                uspi->s_sbbase =  0;
+               sb->s_time_gran = 1;
+               sb->s_time_min = S64_MIN;
+               sb->s_time_max = S64_MAX;
                flags |= UFS_TYPE_UFS2 | UFS_DE_44BSD | UFS_UID_44BSD | UFS_ST_44BSD | UFS_CG_44BSD;
                break;