Skip to contentSkip to conversation

hfs-atomically-read-inode-size.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 28, 2017

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: hfs: atomically read inode size
has been removed from the -mm tree. Its filename was
hfs-atomically-read-inode-size.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Fabian Frederick <[email protected]>
Subject: hfs: atomically read inode size

See i_size_read() comments in include/linux/fs.h

---

 fs/hfs/mdb.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/hfs/mdb.c renamed from fs/hfs/mdb.c~hfs-atomically-read-inode-size +1 -1
diff -puN fs/hfs/mdb.c~hfs-atomically-read-inode-size fs/hfs/mdb.c
@@ -38,7 +38,7 @@ static int hfs_get_last_session(struct s
 
 	/* default values */
 	*start = 0;
-	*size = sb->s_bdev->bd_inode->i_size >> 9;
+	*size = i_size_read(sb->s_bdev->bd_inode) >> 9;
 
 	if (HFS_SB(sb)->session >= 0) {
 		te.cdte_track = HFS_SB(sb)->session;

_

Patches currently in -mm which might be from [email protected] are