aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-12-09 08:06:57 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-01-03 22:52:40 -0500
commit2a79f17e4a641a2f463cb512cb0ec349844a147b (patch)
tree8801127310d0a3492941bb284e83393844a19685 /fs/ext3
parent8c9379e972e984d11c2b99121847ba9fa7a0c56c (diff)
vfs: mnt_drop_write_file()
new helper (wrapper around mnt_drop_write()) to be used in pair with mnt_want_write_file(). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/ioctl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext3/ioctl.c b/fs/ext3/ioctl.c
index a02863a080d3..8e37c41a071b 100644
--- a/fs/ext3/ioctl.c
+++ b/fs/ext3/ioctl.c
@@ -110,7 +110,7 @@ flags_err:
110 err = ext3_change_inode_journal_flag(inode, jflag); 110 err = ext3_change_inode_journal_flag(inode, jflag);
111flags_out: 111flags_out:
112 mutex_unlock(&inode->i_mutex); 112 mutex_unlock(&inode->i_mutex);
113 mnt_drop_write(filp->f_path.mnt); 113 mnt_drop_write_file(filp);
114 return err; 114 return err;
115 } 115 }
116 case EXT3_IOC_GETVERSION: 116 case EXT3_IOC_GETVERSION:
@@ -147,7 +147,7 @@ flags_out:
147 } 147 }
148 ext3_journal_stop(handle); 148 ext3_journal_stop(handle);
149setversion_out: 149setversion_out:
150 mnt_drop_write(filp->f_path.mnt); 150 mnt_drop_write_file(filp);
151 return err; 151 return err;
152 } 152 }
153 case EXT3_IOC_GETRSVSZ: 153 case EXT3_IOC_GETRSVSZ:
@@ -195,7 +195,7 @@ setversion_out:
195 } 195 }
196 mutex_unlock(&ei->truncate_mutex); 196 mutex_unlock(&ei->truncate_mutex);
197setrsvsz_out: 197setrsvsz_out:
198 mnt_drop_write(filp->f_path.mnt); 198 mnt_drop_write_file(filp);
199 return err; 199 return err;
200 } 200 }
201 case EXT3_IOC_GROUP_EXTEND: { 201 case EXT3_IOC_GROUP_EXTEND: {
@@ -221,7 +221,7 @@ setrsvsz_out:
221 if (err == 0) 221 if (err == 0)
222 err = err2; 222 err = err2;
223group_extend_out: 223group_extend_out:
224 mnt_drop_write(filp->f_path.mnt); 224 mnt_drop_write_file(filp);
225 return err; 225 return err;
226 } 226 }
227 case EXT3_IOC_GROUP_ADD: { 227 case EXT3_IOC_GROUP_ADD: {
@@ -249,7 +249,7 @@ group_extend_out:
249 if (err == 0) 249 if (err == 0)
250 err = err2; 250 err = err2;
251group_add_out: 251group_add_out:
252 mnt_drop_write(filp->f_path.mnt); 252 mnt_drop_write_file(filp);
253 return err; 253 return err;
254 } 254 }
255 case FITRIM: { 255 case FITRIM: {