[readdir] convert ext3
authorAl Viro <viro@zeniv.linux.org.uk>
Thu, 16 May 2013 01:02:48 +0000 (21:02 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:49 +0000 (12:46 +0400)
commit5ded75ec4c576577cae7d556e671d11d0c80c2fc
tree964c5d165f74933df96d6fa16f9bd866a7308727
parent5f99f4e79abc64ed9d93a4b0158b21c64ff7f478
[readdir] convert ext3

new helper: dir_relax(inode).  Call when you are in location that will
_not_ be invalidated by directory modifications (block boundary, in case
of ext*).  Returns whether the directory has survived (dropping i_mutex
allows rmdir to kill the sucker; if it returns false to us, ->iterate()
is obviously done)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ext3/dir.c
include/linux/fs.h