Merge tag 'jfs-5.2' of git://github.com/kleikamp/linux-shaggy
Pull jfs updates from Dave Kleikamp: "Several minor jfs fixes" * tag 'jfs-5.2' of git://github.com/kleikamp/linux-shaggy: jfs: fix bogus variable self-initialization fs/jfs: Switch to use new generic UUID API jfs: compare old and new mode before setting update_mode flag jfs: remove incorrect comment in jfs_superblock jfs: fix spelling mistake, EACCESS -> EACCES
This commit is contained in:
@@ -156,9 +156,11 @@ static int jfs_statfs(struct dentry *dentry, struct kstatfs *buf)
|
||||
buf->f_files = maxinodes;
|
||||
buf->f_ffree = maxinodes - (atomic_read(&imap->im_numinos) -
|
||||
atomic_read(&imap->im_numfree));
|
||||
buf->f_fsid.val[0] = (u32)crc32_le(0, sbi->uuid, sizeof(sbi->uuid)/2);
|
||||
buf->f_fsid.val[1] = (u32)crc32_le(0, sbi->uuid + sizeof(sbi->uuid)/2,
|
||||
sizeof(sbi->uuid)/2);
|
||||
buf->f_fsid.val[0] = crc32_le(0, (char *)&sbi->uuid,
|
||||
sizeof(sbi->uuid)/2);
|
||||
buf->f_fsid.val[1] = crc32_le(0,
|
||||
(char *)&sbi->uuid + sizeof(sbi->uuid)/2,
|
||||
sizeof(sbi->uuid)/2);
|
||||
|
||||
buf->f_namelen = JFS_NAME_MAX;
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user