ext4: down i_data_sem only for read when walking tree for fiemap
authorTheodore Ts'o <tytso@mit.edu>
Mon, 18 May 2009 03:31:23 +0000 (23:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 18 May 2009 03:31:23 +0000 (23:31 -0400)
commit0568c518937ee3a9b6a94d18bae9c150fe5d6832
treeb6392f24142e9199a7a0b34e29ac2f6c82a221d7
parent6fd058f7791087648c683eb8572edf3be3c4c23c
ext4: down i_data_sem only for read when walking tree for fiemap

Not sure why I put this in as down_write originally; all we are
doing is walking the tree, nothing will change under us and
concurrent reads should be no problem.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c