f2fs: Use sysfs_emit_at() to simplify code
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 15 Aug 2024 00:47:28 +0000 (08:47 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 21 Aug 2024 01:02:05 +0000 (01:02 +0000)
commitf7a678bbe5a8f22cfcef5369757cc9b95f73e027
tree62fbf82adbe4ea2ad47e6a0f3f75a114873d0141
parentb2c160f4f3cfe9334b3e6bb52cb89a3a20ef0385
f2fs: Use sysfs_emit_at() to simplify code

This file already uses sysfs_emit(). So be consistent and also use
sysfs_emit_at().

This slightly simplifies the code and makes it more readable.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/sysfs.c