xfs: drop the obsolete comment on filestream locking
authorGao Xiang <hsiangkao@redhat.com>
Wed, 23 Sep 2020 16:26:31 +0000 (09:26 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 25 Sep 2020 18:34:08 +0000 (11:34 -0700)
commitb38e07401ec7e6eefc1f84e682f5b75ce3a685e5
tree446ac2c3a9e7cbac72a524c7df3816b649a5cdba
parent61ef5230518a3ad224549a50a01b73989acb94b9
xfs: drop the obsolete comment on filestream locking

Since commit 1c1c6ebcf52 ("xfs: Replace per-ag array with a radix
tree"), there is no m_peraglock anymore, so it's hard to understand
the described situation since per-ag is no longer an array and no
need to reallocate, call xfs_filestream_flush() in growfs.

In addition, the race condition for shrink feature is quite confusing
to me currently as well. Get rid of it instead.

Signed-off-by: Gao Xiang <hsiangkao@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_filestream.c