- struct lr_server_data lsd;
- struct dentry *dlast;
- loff_t off;
- int rc = 0;
- int count = OBJ_SUBDIR_COUNT;
-
- ENTRY;
-
- dlast = ll_lookup_one_len(LAST_RCVD, osd_sb(osd)->s_root,
- strlen(LAST_RCVD));
- if (IS_ERR(dlast))
- return PTR_ERR(dlast);
- else if (dlast->d_inode == NULL)
- goto out;
-
- off = 0;
- rc = osd_ldiskfs_read(dlast->d_inode, &lsd, sizeof(lsd), &off);
- if (rc == sizeof(lsd)) {
- CDEBUG(D_INFO, "read last_rcvd header, uuid = %s, "
- "subdir count = %d\n", lsd.lsd_uuid,
- lsd.lsd_subdir_count);
+ struct lr_server_data lsd;
+ struct dentry *dlast;
+ loff_t off;
+ int rc = 0;
+ int count = OBJ_SUBDIR_COUNT;
+
+ ENTRY;
+
+ dlast = ll_lookup_one_len(LAST_RCVD, osd_sb(osd)->s_root,
+ strlen(LAST_RCVD));
+ if (IS_ERR(dlast))
+ return PTR_ERR(dlast);
+ else if (dlast->d_inode == NULL)
+ goto out;
+
+ off = 0;
+ rc = osd_ldiskfs_read(dlast->d_inode, &lsd, sizeof(lsd), &off);
+ if (rc == sizeof(lsd)) {
+ CDEBUG(D_INFO,
+ "read last_rcvd header, uuid = %s, subdir count = %d\n",
+ lsd.lsd_uuid, lsd.lsd_subdir_count);