mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
fs: Fill in max and min timestamps in superblock
Fill in the appropriate limits to avoid inconsistencies in the vfs cached inode times when timestamps are outside the permitted range. Even though some filesystems are read-only, fill in the timestamps to reflect the on-disk representation. Signed-off-by: Deepa Dinamani <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Acked-By: Tigran Aivazian <[email protected]> Acked-by: Jeff Layton <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
This commit is contained in:
parent
42e729b9dd
commit
22b139691f
17 changed files with 42 additions and 0 deletions
|
|
@ -324,6 +324,8 @@ static int bfs_fill_super(struct super_block *s, void *data, int silent)
|
|||
return -ENOMEM;
|
||||
mutex_init(&info->bfs_lock);
|
||||
s->s_fs_info = info;
|
||||
s->s_time_min = 0;
|
||||
s->s_time_max = U32_MAX;
|
||||
|
||||
sb_set_blocksize(s, BFS_BSIZE);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue