summaryrefslogtreecommitdiffstats
path: root/fs/fat/namei_msdos.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2018-04-18 00:14:40 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2018-04-20 00:01:02 -0400
commit3087147ba3376c5d7ea255bf5cf24c974a41f477 (patch)
tree67c331bd469dbad7a0d84a6eb46d087b77d37b9f /fs/fat/namei_msdos.c
parent69c45d57bab00d5777e7686b3965b68b8ab043c7 (diff)
downloadlinux-3087147ba3376c5d7ea255bf5cf24c974a41f477.tar.gz
linux-3087147ba3376c5d7ea255bf5cf24c974a41f477.tar.bz2
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>
Diffstat (limited to 'fs/fat/namei_msdos.c')
-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;