summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-04-18 06:14:40 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2018-04-20 06:01:02 +0200
commit3087147ba3376c5d7ea255bf5cf24c974a41f477 (patch)
tree67c331bd469dbad7a0d84a6eb46d087b77d37b9f
parentremove rpc_rmdir() (diff)
downloadlinux-3087147ba3376c5d7ea255bf5cf24c974a41f477.tar.xz
linux-3087147ba3376c5d7ea255bf5cf24c974a41f477.zip
msdos_rmdir(): kill BS comment
it hadn't been checking for "busy" since 2.3.99-something and removing that leaves us with "check if it's empty" followed by call of fat_dir_emtpy() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/fat/namei_msdos.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/fat/namei_msdos.c b/fs/fat/namei_msdos.c
index 582ca731a6c9..484ce674e0cd 100644
--- a/fs/fat/namei_msdos.c
+++ b/fs/fat/namei_msdos.c
@@ -314,10 +314,6 @@ static int msdos_rmdir(struct inode *dir, struct dentry *dentry)
int err;
mutex_lock(&MSDOS_SB(sb)->s_lock);
- /*
- * Check whether the directory is not in use, then check
- * whether it is empty.
- */
err = fat_dir_empty(inode);
if (err)
goto out;