ubifs: Export ubifs_check_dir_empty()
authorRichard Weinberger <richard@nod.at>
Mon, 19 Sep 2016 18:54:19 +0000 (20:54 +0200)
committerRichard Weinberger <richard@nod.at>
Mon, 12 Dec 2016 22:07:38 +0000 (23:07 +0100)
commitf6337d842668ad47f01d5f2dcd3730484f09d6fa
tree9035b79901820137ebcfc505ef845af728571433
parentd40a7962174f1144869f18d1fc68a385c9ab21ec
ubifs: Export ubifs_check_dir_empty()

fscrypto will need this function too. Also get struct ubifs_info
from the provided inode. Not all callers will have a reference to
struct ubifs_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/dir.c
fs/ubifs/ubifs.h