From 3087147ba3376c5d7ea255bf5cf24c974a41f477 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Wed, 18 Apr 2018 00:14:40 -0400 Subject: 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 --- fs/fat/namei_msdos.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'fs/fat') 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; -- cgit