mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-27 02:19:26 +07:00
staging: lustre: lustre: obdclass: Added missing line after declaration
Added missing line after declaration fixing the following checkpatch.pl warning in dt_object.c: WARNING: Missing a blank line after declarations Signed-off-by: Kumari Radha <kumari.radha3@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fa4d19c4ef
commit
c2487192be
@ -950,8 +950,8 @@ int lprocfs_dt_rd_blksize(char *page, char **start, off_t off,
|
||||
{
|
||||
struct dt_device *dt = data;
|
||||
struct obd_statfs osfs;
|
||||
|
||||
int rc = dt_statfs(NULL, dt, &osfs);
|
||||
|
||||
if (rc == 0) {
|
||||
*eof = 1;
|
||||
rc = snprintf(page, count, "%u\n",
|
||||
@ -967,8 +967,8 @@ int lprocfs_dt_rd_kbytestotal(char *page, char **start, off_t off,
|
||||
{
|
||||
struct dt_device *dt = data;
|
||||
struct obd_statfs osfs;
|
||||
|
||||
int rc = dt_statfs(NULL, dt, &osfs);
|
||||
|
||||
if (rc == 0) {
|
||||
__u32 blk_size = osfs.os_bsize >> 10;
|
||||
__u64 result = osfs.os_blocks;
|
||||
@ -989,8 +989,8 @@ int lprocfs_dt_rd_kbytesfree(char *page, char **start, off_t off,
|
||||
{
|
||||
struct dt_device *dt = data;
|
||||
struct obd_statfs osfs;
|
||||
|
||||
int rc = dt_statfs(NULL, dt, &osfs);
|
||||
|
||||
if (rc == 0) {
|
||||
__u32 blk_size = osfs.os_bsize >> 10;
|
||||
__u64 result = osfs.os_bfree;
|
||||
@ -1011,8 +1011,8 @@ int lprocfs_dt_rd_kbytesavail(char *page, char **start, off_t off,
|
||||
{
|
||||
struct dt_device *dt = data;
|
||||
struct obd_statfs osfs;
|
||||
|
||||
int rc = dt_statfs(NULL, dt, &osfs);
|
||||
|
||||
if (rc == 0) {
|
||||
__u32 blk_size = osfs.os_bsize >> 10;
|
||||
__u64 result = osfs.os_bavail;
|
||||
@ -1033,8 +1033,8 @@ int lprocfs_dt_rd_filestotal(char *page, char **start, off_t off,
|
||||
{
|
||||
struct dt_device *dt = data;
|
||||
struct obd_statfs osfs;
|
||||
|
||||
int rc = dt_statfs(NULL, dt, &osfs);
|
||||
|
||||
if (rc == 0) {
|
||||
*eof = 1;
|
||||
rc = snprintf(page, count, "%llu\n", osfs.os_files);
|
||||
@ -1049,8 +1049,8 @@ int lprocfs_dt_rd_filesfree(char *page, char **start, off_t off,
|
||||
{
|
||||
struct dt_device *dt = data;
|
||||
struct obd_statfs osfs;
|
||||
|
||||
int rc = dt_statfs(NULL, dt, &osfs);
|
||||
|
||||
if (rc == 0) {
|
||||
*eof = 1;
|
||||
rc = snprintf(page, count, "%llu\n", osfs.os_ffree);
|
||||
|
Loading…
Reference in New Issue
Block a user