Displaying 2 results from an estimated 2 matches for "old_opts".
Did you mean:
old_offs
2013 Apr 11
0
[PATCH 1/2] Btrfs: fix unblocked autodefraggers when remount
...uper.c
index 68a29a1..0f03569 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -1202,11 +1202,14 @@ static void btrfs_resize_thread_pool(struct btrfs_fs_info *fs_info,
new_pool_size);
}
-static inline void btrfs_remount_prepare(struct btrfs_fs_info *fs_info,
- unsigned long old_opts, int flags)
+static inline void btrfs_remount_prepare(struct btrfs_fs_info *fs_info)
{
set_bit(BTRFS_FS_STATE_REMOUNTING, &fs_info->fs_state);
+}
+static inline void btrfs_remount_begin(struct btrfs_fs_info *fs_info,
+ unsigned long old_opts, int flags)
+{
if (btrfs_raw_test...
2012 Oct 19
2
setting option in function
is it possible to set an option inside a function ((I want to set
na.action = na.fail) and have the previous state restored if there is
an error so that the function doesn't change the option behind the
user's back?
Sorry if this has been answered before, but this subject is hard to Google.
--
Charles Geyer
Professor, School of Statistics
University of Minnesota
charlie at stat.umn.edu