Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cae6f71 authored by Al Viro's avatar Al Viro
Browse files

ext4: switch EXT4_IOC_RESIZE_FS to mnt_want_write_file()



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 11e62a8f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -390,7 +390,7 @@ group_add_out:
		if (err)
			return err;

		err = mnt_want_write(filp->f_path.mnt);
		err = mnt_want_write_file(filp);
		if (err)
			goto resizefs_out;

@@ -402,7 +402,7 @@ group_add_out:
		}
		if (err == 0)
			err = err2;
		mnt_drop_write(filp->f_path.mnt);
		mnt_drop_write_file(filp);
resizefs_out:
		ext4_resize_end(sb);
		return err;