summaryrefslogtreecommitdiffstats
path: root/fs/fat
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
parent69c45d57bab00d5777e7686b3965b68b8ab043c7 (diff)
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')
-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)
314 int err; 314 int err;
315 315
316 mutex_lock(&MSDOS_SB(sb)->s_lock); 316 mutex_lock(&MSDOS_SB(sb)->s_lock);
317 /*
318 * Check whether the directory is not in use, then check
319 * whether it is empty.
320 */
321 err = fat_dir_empty(inode); 317 err = fat_dir_empty(inode);
322 if (err) 318 if (err)
323 goto out; 319 goto out;