* + fs-reiserfs-atomically-read-inode-size.patch added to -mm tree
@ 2017-01-23 22:29 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-01-23 22:29 UTC (permalink / raw)
To: fabf, mm-commits
The patch titled
Subject: fs/reiserfs: atomically read inode size
has been added to the -mm tree. Its filename is
fs-reiserfs-atomically-read-inode-size.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/fs-reiserfs-atomically-read-inode-size.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/fs-reiserfs-atomically-read-inode-size.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Fabian Frederick <fabf@skynet.be>
Subject: fs/reiserfs: atomically read inode size
See i_size_read() comments in include/linux/fs.h
Link: http://lkml.kernel.org/r/20170123174701.30394-1-fabf@skynet.be
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/reiserfs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -puN fs/reiserfs/super.c~fs-reiserfs-atomically-read-inode-size fs/reiserfs/super.c
--- a/fs/reiserfs/super.c~fs-reiserfs-atomically-read-inode-size
+++ a/fs/reiserfs/super.c
@@ -1166,7 +1166,7 @@ static int reiserfs_parse_options(struct
if (!strcmp(arg, "auto")) {
/* From JFS code, to auto-get the size. */
*blocks =
- s->s_bdev->bd_inode->i_size >> s->
+ i_size_read(s->s_bdev->bd_inode) >> s->
s_blocksize_bits;
} else {
*blocks = simple_strtoul(arg, &p, 0);
_
Patches currently in -mm which might be from fabf@skynet.be are
documentation-filesystems-proctxt-add-vmpin.patch
hfs-atomically-read-inode-size.patch
hfsplus-atomically-read-inode-size.patch
fs-reiserfs-atomically-read-inode-size.patch
fs-affs-remove-reference-to-affs_parent_ino.patch
fs-affs-add-validation-block-function.patch
fs-affs-make-affs-exportable.patch
fs-affs-use-octal-for-permissions.patch
fs-affs-add-prefix-to-some-functions.patch
fs-affs-nameic-forward-declarations-clean-up.patch
fs-affs-make-export-work-with-cold-dcache.patch
fs-add-i_blocksize.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-23 22:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 22:29 + fs-reiserfs-atomically-read-inode-size.patch added to -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.